Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit d55abed

Browse files
authored
fix: default slot rendering
1 parent f5e66eb commit d55abed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/c-focus-lock/src/c-focus-lock.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const CFocusLock = defineComponent({
168168

169169
return (
170170
<clone ref={target} data-chakra-focus-lock="" {...attrs}>
171-
{slots?.defaults?.({ enabled, hasFocus, activate, deactivate })}
171+
{slots?.default?.({ enabled, hasFocus, activate, deactivate })}
172172
</clone>
173173
)
174174
}

0 commit comments

Comments
 (0)