Skip to content

Commit

Permalink
chore: imporve code
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyxu1102 committed Aug 30, 2023
1 parent dfe7a2e commit c3321f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/src/apiCustomElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ export function defineCustomElement(
/*! #__NO_SIDE_EFFECTS__ */
export const defineSSRCustomElement = ((options: any) => {
// @ts-ignore
return defineCustomElement(options, { hydrate })
return defineCustomElement(options, hydrate)
}) as typeof defineCustomElement

const BaseClass = (
Expand Down

0 comments on commit c3321f0

Please sign in to comment.