Skip to content

Commit 024fec4

Browse files
fix(TopShards): fix data update on schema object change (#1245)
1 parent 75780c7 commit 024fec4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/containers/Tenant/Diagnostics/TopShards/TopShards.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export const TopShards = ({tenantName, path, type}: TopShardsProps) => {
107107

108108
const [sortOrder, setSortOrder] = React.useState(TOP_SHARD_COLUMNS_IDS.CPUCores);
109109
const {
110-
data: result,
110+
currentData: result,
111111
isFetching,
112112
error,
113113
} = shardApi.useSendShardQueryQuery(

0 commit comments

Comments
 (0)