Skip to content

Commit

Permalink
chore: remove unnecessary diffs
Browse files Browse the repository at this point in the history
  • Loading branch information
ubugeeei committed Mar 17, 2024
1 parent ab91662 commit 0159af9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/runtime-vapor/__tests__/componentSlots.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

import {
createComponent,
createSlots,
createVaporApp,
defineComponent,
getCurrentInstance,
nextTick,
ref,
template,
} from '../src'
import { createSlots } from '../src/apiCreateSlots'
import { makeRender } from './_utils'

const define = makeRender<any>()
Expand Down
2 changes: 1 addition & 1 deletion packages/runtime-vapor/src/component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
} from './componentEmits'
import { type InternalSlots, type Slots, initSlots } from './componentSlots'
import { VaporLifecycleHooks } from './apiLifecycle'

import type { Data } from '@vue/shared'

export type Component = FunctionalComponent | ObjectComponent
Expand Down Expand Up @@ -166,7 +167,6 @@ export function createComponentInstance(

// state
setupState: EMPTY_OBJ,

props: EMPTY_OBJ,
emit: null!,
emitted: null,
Expand Down
1 change: 0 additions & 1 deletion packages/runtime-vapor/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ export {
onErrorCaptured,
// onServerPrefetch,
} from './apiLifecycle'

export {
createVaporApp,
type App,
Expand Down

0 comments on commit 0159af9

Please sign in to comment.