Fixed frontend issues, switched back to nginxproxymanager dockerhub space

This commit is contained in:
Jamie Curnow
2024-05-09 08:41:49 +10:00
parent ae9504584c
commit ecc3b2b5b7
26 changed files with 304 additions and 1106 deletions

View File

@@ -55,7 +55,7 @@ function TableWrapper() {
isClosable: true,
});
setTimeout(() => {
queryClient.invalidateQueries(["certificates"]);
queryClient.invalidateQueries({ queryKey: ["certificates"] });
}, 500);
} catch (err: any) {
toast({

View File

@@ -67,7 +67,7 @@ function Setup() {
try {
await login(response.email, password);
// Trigger a Health change
await queryClient.refetchQueries(["health"]);
await queryClient.refetchQueries({ queryKey: ["health"] });
// window.location.reload();
} catch (err: any) {
showErr(err.message);