refac/enh: unregisterServiceWorkers on update

This commit is contained in:
Timothy Jaeryang Baek
2025-11-20 15:34:15 -05:00
parent 4c28f19bdd
commit ff7a54653a
5 changed files with 46 additions and 7 deletions
+1 -1
View File
@@ -1425,7 +1425,7 @@ export const getVersion = async (token: string) => {
throw error;
}
return res?.version ?? null;
return res;
};
export const getVersionUpdates = async (token: string) => {