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/toolbar.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

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

diff --git a/src/components/organisms/toolbar/toolbar.tsx b/src/components/organisms/toolbar/toolbar.tsx
index 999a29a..be46636 100644
--- a/src/components/organisms/toolbar/toolbar.tsx
+++ b/src/components/organisms/toolbar/toolbar.tsx
@@ -7,7 +7,7 @@ import { Settings, type SettingsProps } from './settings';
 import styles from './toolbar.module.scss';
 
 export type ToolbarProps = Pick<SearchProps, 'searchPage'> &
-  Pick<SettingsProps, 'ackeeStorageKey' | 'motionStorageKey'> & {
+  Pick<SettingsProps, 'motionStorageKey'> & {
     /**
      * Set additional classnames to the toolbar wrapper.
      */
@@ -24,7 +24,6 @@ export type ToolbarProps = Pick<SearchProps, 'searchPage'> &
  * Render the website toolbar.
  */
 export const Toolbar: FC<ToolbarProps> = ({
-  ackeeStorageKey,
   className = '',
   motionStorageKey,
   nav,
@@ -76,7 +75,6 @@ export const Toolbar: FC<ToolbarProps> = ({
         setIsActive={toggleSearch}
       />
       <Settings
-        ackeeStorageKey={ackeeStorageKey}
         className={`${styles.modal} ${styles['modal--settings']}`}
         isActive={isSettingsOpened}
         motionStorageKey={motionStorageKey}
-- 
cgit v1.2.3

