Skip to content

Commit

Permalink
fix(Storage): fix additional props not passed
Browse files Browse the repository at this point in the history
  • Loading branch information
artemmufazalov committed Sep 24, 2024
1 parent deaf519 commit c4b8bb8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/containers/Storage/PaginatedStorage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ interface PaginatedStorageProps {

export const PaginatedStorage = ({database, nodeId, parentContainer}: PaginatedStorageProps) => {
const {balancer} = useClusterBaseInfo();
const additionalNodesProps = useAdditionalNodeProps({balancer});
const {additionalNodesProps} = useAdditionalNodeProps({balancer});

const [queryParams, setQueryParams] = useQueryParams({
type: StringParam,
Expand Down
2 changes: 1 addition & 1 deletion src/containers/Storage/Storage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ interface StorageProps {

export const Storage = ({database, nodeId, groupId, pDiskId}: StorageProps) => {
const {balancer} = useClusterBaseInfo();
const additionalNodesProps = useAdditionalNodeProps({balancer});
const {additionalNodesProps} = useAdditionalNodeProps({balancer});

const capabilitiesLoaded = useCapabilitiesLoaded();
const groupsHandlerAvailable = useStorageGroupsHandlerAvailable();
Expand Down

0 comments on commit c4b8bb8

Please sign in to comment.