Skip to content

Commit 7483683

Browse files
committed
fix: no response when getting teams
1 parent 19c6e83 commit 7483683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stores/team.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const useTeamStore = defineStore("team", () => {
2121
return error.response;
2222
});
2323

24-
if (response.status !== 200) {
24+
if (response?.status !== 200) {
2525
return;
2626
}
2727

0 commit comments

Comments
 (0)