From 162fd12e1e52ae67b6df517845b282fac2ba5672 Mon Sep 17 00:00:00 2001 From: Marco Ciampini Date: Fri, 9 Aug 2024 17:56:57 +0200 Subject: [PATCH] Add default value for store props to avoid errors while destructuring --- packages/components/src/composite/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/components/src/composite/index.tsx b/packages/components/src/composite/index.tsx index 4d22562f8bd97..73df75272054c 100644 --- a/packages/components/src/composite/index.tsx +++ b/packages/components/src/composite/index.tsx @@ -54,7 +54,7 @@ export function useCompositeStore( { orientation = 'both', rtl = false, ...props -}: CompositeStoreProps ) { +}: CompositeStoreProps = {} ) { return Ariakit.useCompositeStore( { focusLoop, focusWrap,