mirror of
https://github.com/umami-software/umami.git
synced 2025-12-08 05:12:36 +01:00
Fix not found appearing on share pages.
This commit is contained in:
parent
b1493dfef8
commit
c5d7d5dea2
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ export default function SharePage() {
|
|||
|
||||
if (website) {
|
||||
setWebsiteId(website.website_id);
|
||||
} else {
|
||||
} else if (typeof window !== 'undefined') {
|
||||
setNotFound(true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue