We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76275c4 commit 633b184Copy full SHA for 633b184
src/containers/Tenant/useTenantQueryParams.ts
@@ -30,7 +30,7 @@ export function useTenantQueryParams() {
30
);
31
const handleShowGrantAccessChange = React.useCallback(
32
(value?: boolean) => {
33
- setQueryParams({showGrantAccess: value}, 'replaceIn');
+ setQueryParams({showGrantAccess: value || undefined}, 'replaceIn');
34
},
35
[setQueryParams],
36
@@ -56,7 +56,7 @@ export function useTenantQueryParams() {
56
57
const handleHealthcheckViewChange = React.useCallback(
58
(value?: string) => {
59
- setQueryParams({view: value}, 'replaceIn');
+ setQueryParams({view: value || undefined}, 'replaceIn');
60
61
62
0 commit comments