diff options
Diffstat (limited to 'components/Tweaks/index.tsx')
-rw-r--r-- | components/Tweaks/index.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/components/Tweaks/index.tsx b/components/Tweaks/index.tsx index afd0ea7..cff0e78 100644 --- a/components/Tweaks/index.tsx +++ b/components/Tweaks/index.tsx @@ -20,6 +20,7 @@ import { initialVisuals, initialMouse, initialBehavior, + initialLocal, TagColors, colorList, } from '../config' @@ -48,6 +49,8 @@ export interface TweakProps { tags: string[] tagColors: TagColors setTagColors: any + local: typeof initialLocal + setLocal: any } export const Tweaks = (props: TweakProps) => { @@ -67,6 +70,8 @@ export const Tweaks = (props: TweakProps) => { tags, tagColors, setTagColors, + local, + setLocal, } = props const [showTweaks, setShowTweaks] = usePersistantState('showTweaks', false) @@ -168,6 +173,7 @@ export const Tweaks = (props: TweakProps) => { highlightColor={highlightColor} colorList={colorList} tags={tags} + {...{ local, setLocal }} /> </AccordionPanel> </AccordionItem> |