diff --git a/src/core/primitives/Toggle/fragments/TogglePrimitiveRoot.tsx b/src/core/primitives/Toggle/fragments/TogglePrimitiveRoot.tsx index a96cc51a..cb104615 100644 --- a/src/core/primitives/Toggle/fragments/TogglePrimitiveRoot.tsx +++ b/src/core/primitives/Toggle/fragments/TogglePrimitiveRoot.tsx @@ -16,12 +16,6 @@ const TogglePrimitiveRoot = ({children,className='',defaultPressed,pressed,onCha setIsPressed(updatedPressed); onChange(updatedPressed) } - - const values = { - handlePressed, - isPressed, - setIsPressed -}; return {children}