feat: some shit

This commit is contained in:
max_richter 2023-08-08 11:07:25 +02:00
parent eb7d594aeb
commit 899f5bca85
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ export const KMenu = (
} else {
input.current?.blur();
}
}, document?.body);
}, typeof document !== "undefined" ? document?.body : undefined);
return (
<div

View File

@ -20,7 +20,7 @@ export const RedirectSearchHandler = () => {
) {
window.location.href += "?q=";
}
}, document?.body);
}, typeof document !== "undefined" ? document?.body : undefined);
return <></>;
};