Skip to content

Commit a727257

Browse files
committed
test(lint): fix
1 parent b24e047 commit a727257

File tree

1 file changed

+12
-12
lines changed
  • packages/floating-vue/src/components

1 file changed

+12
-12
lines changed

Diff for: packages/floating-vue/src/components/Popper.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,18 @@ const PROVIDE_KEY = '__floating-vue__popper'
3737
export default () => defineComponent({
3838
name: 'VPopper',
3939

40+
provide () {
41+
return {
42+
[PROVIDE_KEY]: {
43+
parentPopper: this,
44+
},
45+
}
46+
},
47+
48+
inject: {
49+
[PROVIDE_KEY]: { default: null },
50+
},
51+
4052
props: {
4153
theme: {
4254
type: String,
@@ -255,18 +267,6 @@ export default () => defineComponent({
255267
'dispose',
256268
],
257269

258-
provide () {
259-
return {
260-
[PROVIDE_KEY]: {
261-
parentPopper: this,
262-
},
263-
}
264-
},
265-
266-
inject: {
267-
[PROVIDE_KEY]: { default: null },
268-
},
269-
270270
data () {
271271
return {
272272
isShown: false,

0 commit comments

Comments
 (0)