Cleanup + migrate away from process.browser (#5408)

* Cleanup + migrate away from process.browser

* Bring back HeadSeo in ui/v2
This commit is contained in:
Alex van Andel authored and GitHub committed 2022-11-08 08:36:59 +01:00
1 parent 7e19e0d9e2
commit 8b5d57c573
3 files changed
+3 -23

No files matched your search

+1 -1
View File
@@ -7,7 +7,7 @@ type BrowserInfo = {
};
export const getBrowserInfo = (): Partial<BrowserInfo> => {
if (!process.browser) {
if (typeof window === "undefined") {
return {};
}
return {