fix: window scoped state for token refresh

This commit is contained in:
2025-05-30 21:25:39 +02:00
parent 8a28fca3d9
commit 03697b2f67
4 changed files with 20 additions and 5 deletions

6
web/globals.d.ts vendored Normal file
View File

@ -0,0 +1,6 @@
interface Window {
guard: {
refreshing: boolean;
refreshQueue: ((token: string | null) => void)[];
};
}