diff --git a/extension/src/options.tsx b/extension/src/options.tsx index f80f448..0194386 100644 --- a/extension/src/options.tsx +++ b/extension/src/options.tsx @@ -21,6 +21,7 @@ const IndexOptions = () => { accessToken, }); const [shortcuts] = useStorage("shortcuts", []); + const isInitialized = domain && accessToken; useEffect(() => { setSettingState({ @@ -109,7 +110,7 @@ const IndexOptions = () => { - {shortcuts.length > 0 && ( + {isInitialized && shortcuts.length > 0 && ( <>