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 91c3844 commit 0f282a8Copy full SHA for 0f282a8
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