Skip to content

Commit

Permalink
Add default value for store props to avoid errors while destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Aug 9, 2024
1 parent ad9fbb4 commit 162fd12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/components/src/composite/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function useCompositeStore( {
orientation = 'both',
rtl = false,
...props
}: CompositeStoreProps ) {
}: CompositeStoreProps = {} ) {
return Ariakit.useCompositeStore( {
focusLoop,
focusWrap,
Expand Down

0 comments on commit 162fd12

Please sign in to comment.