Fix error handling

This commit is contained in:
Gregory Schier committed 2025-01-04 07:44:39 -08:00
1 parent 609bd4cdea
commit 75ead9cc8a
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export function useLicense() {
useEffect(() => {
listen('license-activated', () => {
queryClient.invalidateQueries({ queryKey: CHECK_QUERY_KEY }).catch(console.error);
}).then(console.error);
}).catch(console.error);
}, []);
const CHECK_QUERY_KEY = ['license.check'];