This commit is contained in:
Elias Schneider
2022-04-28 15:02:38 +02:00
parent 85b5de86c4
commit 8caa667d09
17 changed files with 5559 additions and 308 deletions

View File

@@ -9,7 +9,11 @@ export default class _Document extends Document {
render() {
return (
<Html>
<Head />
<Head>
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#46509e" />
<link rel="apple-touch-icon" href="/icons/icon-128x128.png" />
</Head>
<body>
<Main />
<NextScript />

View File

@@ -1,9 +1,9 @@
import { createContext } from "react";
import aw from "./appwrite.util";
const isSignedIn = async() => {
const isSignedIn = async () => {
try {
await aw.account.get();
await aw.account.get();
return true;
} catch {
return false;