Skip to content

Commit

Permalink
fix projection tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Varixo committed Aug 18, 2024
1 parent 6f31c77 commit 82b7d17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/qwik/src/core/v2/ssr/ssr-render-jsx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ function getSlotName(host: ISsrNode, jsx: JSXNode, ssr: SSRContainer): string {
if (constProps && typeof constProps == 'object' && 'name' in constProps) {
const constValue = constProps.name;
if (constValue instanceof DerivedSignal2) {
return trackSignal2(() => constValue.value, host as fixMeAny, EffectProperty.VNODE, ssr);
return trackSignal2(() => constValue.value, host as fixMeAny, EffectProperty.COMPONENT, ssr);
}
}
return (jsx.props.name as string) || QDefaultSlot;
Expand Down

0 comments on commit 82b7d17

Please sign in to comment.