Skip to content

Commit 9a28c12

Browse files
committed
fix: review fix
1 parent 5618d8a commit 9a28c12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/Tenant/Diagnostics/TenantOverview/TenantDashboard/TenantDashboard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export const TenantDashboard = ({database, charts}: TenantDashboardProps) => {
3434
const [hasSuccessfulChart, setHasSuccessfulChart] = React.useState<boolean>(false);
3535

3636
const isDashboardHidden = React.useMemo(() => {
37-
return graphShardExists !== true && !hasSuccessfulChart;
37+
return !graphShardExists && !hasSuccessfulChart;
3838
}, [graphShardExists, hasSuccessfulChart]);
3939

4040
const [autoRefreshInterval] = useAutoRefreshInterval();

0 commit comments

Comments
 (0)