chore: Update translations

This commit is contained in:
2023-09-05 13:59:44 +00:00
parent b1459d0f49
commit df7353a43c
37 changed files with 7031 additions and 800 deletions

View File

@ -80,10 +80,7 @@ async function initSite() {
}
try {
if ("registerProtocolHandler" in window.navigator) {
window.navigator.registerProtocolHandler(
"web+nostr",
`${window.location.protocol}//${window.location.host}/%s`
);
window.navigator.registerProtocolHandler("web+nostr", `${window.location.protocol}//${window.location.host}/%s`);
console.info("Registered protocol handler for 'web+nostr'");
}
} catch (e) {
@ -100,7 +97,7 @@ export const router = createBrowserRouter([
loader: async () => {
if (!didInit) {
didInit = true;
return await initSite()
return await initSite();
}
return null;
},