title test

This commit is contained in:
Erik 2022-03-22 01:11:51 +02:00
parent 75f18f4e06
commit f5a3a3b32b
No known key found for this signature in database
GPG Key ID: FEFF4B220DDF5589

View File

@ -16,6 +16,7 @@ function App() {
const [user, updateSession] = useLoginContext(); const [user, updateSession] = useLoginContext();
useEffect(() => { useEffect(() => {
document.title = `Corgi Corner`;
fetchUser().then(user => { fetchUser().then(user => {
if (user) setSession(user, user.accessToken); if (user) setSession(user, user.accessToken);
else clearSession(); else clearSession();