Fix error handling

This commit is contained in:
Gregory Schier
2025-01-04 07:44:39 -08:00
parent 609bd4cdea
commit 75ead9cc8a
2 changed files with 3 additions and 2 deletions

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'];