fix: teams type
This commit is contained in:
parent
054508cf6a
commit
c246a0b264
@ -30,7 +30,7 @@ export function SessionProvider(props: SessionProviderProps) {
|
|||||||
const { children } = props;
|
const { children } = props;
|
||||||
|
|
||||||
const [user, setUser] = useState<User | null>(null);
|
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 [err, setErr] = useState<unknown>(null);
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user