More updates to realtime.
This commit is contained in:
1 parent
28921a7cd5
commit
93b77672f3
28 files changed
+218
-263
No files matched your search
+1
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user