mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-27 11:51:13 +01:00
Fix error handling
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user