Fix not found appearing on share pages.
This commit is contained in:
@@ -16,7 +16,7 @@ export default function SharePage() {
|
||||
|
||||
if (website) {
|
||||
setWebsiteId(website.website_id);
|
||||
} else {
|
||||
} else if (typeof window !== 'undefined') {
|
||||
setNotFound(true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user