From 3ab9f0423e97af63da4bf6a13ffd786955bd5b3b Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Thu, 26 Oct 2023 21:55:55 +0200
Subject: refactor(hooks,providers): rewrite useAckee hook and AckeeProvider

---
 src/components/organisms/toolbar/settings.tsx | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

(limited to 'src/components/organisms/toolbar/settings.tsx')

diff --git a/src/components/organisms/toolbar/settings.tsx b/src/components/organisms/toolbar/settings.tsx
index b7625aa..124dd42 100644
--- a/src/components/organisms/toolbar/settings.tsx
+++ b/src/components/organisms/toolbar/settings.tsx
@@ -20,13 +20,7 @@ const SettingsWithRef: ForwardRefRenderFunction<
   HTMLDivElement,
   SettingsProps
 > = (
-  {
-    ackeeStorageKey,
-    className = '',
-    isActive = false,
-    motionStorageKey,
-    setIsActive,
-  },
+  { className = '', isActive = false, motionStorageKey, setIsActive },
   ref
 ) => {
   const intl = useIntl();
@@ -61,7 +55,6 @@ const SettingsWithRef: ForwardRefRenderFunction<
         label={label}
       />
       <SettingsModal
-        ackeeStorageKey={ackeeStorageKey}
         className={`${styles.modal} ${className}`}
         motionStorageKey={motionStorageKey}
       />
-- 
cgit v1.2.3

