fix: teams type

This commit is contained in:
julius 2025-03-17 19:27:32 +01:00
parent 054508cf6a
commit c246a0b264
Signed by: julius
GPG Key ID: C80A63E6A5FD7092

View File

@ -30,7 +30,7 @@ export function SessionProvider(props: SessionProviderProps) {
const { children } = props;
const [user, setUser] = useState<User | null>(null);
const [teams, setTeams] = useState<Team[]>();
const [teams, setTeams] = useState<Team[] | null>(null);
const [err, setErr] = useState<unknown>(null);
const [loading, setLoading] = useState(false);