Skip to content

Commit

Permalink
perf(popup): sfc to tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
betavs committed May 18, 2024
1 parent cbc1a57 commit 11980ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/popup/popup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export default defineComponent({

const renderContent = computed(() => (
<Transition name={contentTransitionName.value} onAfterEnter={afterEnter} onAfterLeave={afterLeave}>
<div {...context.attrs} class={[name, context.attrs.class, contentClasses.value]} style={rootStyles.value}>
<div {...context.attrs} class={[name, contentClasses.value]} style={rootStyles.value}>
{renderCloseBtn.value}

{renderTNodeContent('default', 'content')}
Expand Down

0 comments on commit 11980ed

Please sign in to comment.