added style, fixed login issue

This commit is contained in:
KS Jannette
2026-05-12 04:45:04 -04:00
parent f52f7dc89f
commit 4b62e23a4f
2 changed files with 5 additions and 1 deletions

View File

@@ -42,10 +42,12 @@ export function AuthProvider({ children }) {
useEffect(() => {
const unsubscribe = onAuthStateChanged(auth, async (user) => {
setCurrentUser(user);
if (user) {
setLoading(true);
setCurrentUser(user);
await fetchAccount();
} else {
setCurrentUser(null);
setUserTier("free");
setTierLimits(DEFAULT_TIER_LIMITS);
setIsSubscribed(false);

View File

@@ -82,8 +82,10 @@ button {
.page {
max-width: 800px;
height: 100%;
margin: 0 auto;
padding: 2rem;
background-color: red;
}
.page--wide {