feat: invite codes

This commit is contained in:
2023-12-02 21:27:46 +00:00
parent 6f8e8eca0f
commit f26155ddd8
18 changed files with 5609 additions and 22 deletions

View File

@ -27,7 +27,7 @@ import { removeUndefined, throwIfOffline } from "@snort/shared";
import * as serviceWorkerRegistration from "@/serviceWorkerRegistration";
import { IntlProvider } from "@/IntlProvider";
import { getCountry, unwrap } from "@/SnortUtils";
import { getCountry, storeRefCode, unwrap } from "@/SnortUtils";
import Layout from "@/Pages/Layout";
import ProfilePage from "@/Pages/Profile/ProfilePage";
import { RootRoutes, RootTabRoutes } from "@/Pages/Root";
@ -183,6 +183,7 @@ serviceWorkerRegistration.register();
async function initSite() {
console.debug(getCountry());
storeRefCode();
if (hasWasm) {
await wasmInit(WasmPath);
}