More updates to realtime.

This commit is contained in:
Mike Cao committed 2023-02-15 02:27:18 -08:00
1 parent 28921a7cd5
commit 93b77672f3
28 files changed
+218 -263

No files matched your search

+1 -1
View File
@@ -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) {