diff --git a/packages/ui/app/src/search/SearchV2.tsx b/packages/ui/app/src/search/SearchV2.tsx index 294e260889..20510347c3 100644 --- a/packages/ui/app/src/search/SearchV2.tsx +++ b/packages/ui/app/src/search/SearchV2.tsx @@ -60,8 +60,6 @@ export function SearchV2(): ReactElement | false { const [open, setOpen] = useCommandTrigger(); const domain = useAtomValue(DOMAIN_ATOM); - const isThemeSwitchEnabled = useAtomValue(THEME_SWITCH_ENABLED_ATOM); - const setTheme = useSetTheme(); const { data } = useApiRouteSWRImmutable("/api/fern-docs/search/v2/key", { request: { headers: { "X-User-Token": userToken } },