mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
More updates to realtime.
This commit is contained in:
parent
28921a7cd5
commit
93b77672f3
28 changed files with 218 additions and 263 deletions
|
|
@ -51,7 +51,7 @@ export default function useLocale() {
|
|||
}, [locale]);
|
||||
|
||||
useEffect(() => {
|
||||
const url = new URL(window.location.href);
|
||||
const url = new URL(window?.location?.href);
|
||||
const locale = url.searchParams.get('locale');
|
||||
|
||||
if (locale) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue