Skip to content

Commit

Permalink
chore(mesh-config): some bulkfix
Browse files Browse the repository at this point in the history
  • Loading branch information
selankon committed Nov 8, 2024
1 parent 5b63c1e commit 841091e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ export const FormFooter = ({
});
},
onSuccess: () => {
onClose();
showToast({
text: <Trans>Starting mesh wide configuration change</Trans>,
});
onClose();
},
});
const onSubmit = (data: IMeshWideConfig) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,10 @@ export const useSetCommunityConfig = (
SetCommunityConfigParams
>({
mutationKey: MeshConfigQueryKeys.setCommunityConfig,
mutationFn: (args) => {
return standarizedApiCall<MeshWideRPCReturnTypes>({
args: [...MeshConfigQueryKeys.setCommunityConfig, {}],
});
},
mutationFn: (args) =>
standarizedApiCall<MeshWideRPCReturnTypes>({
args: [...MeshConfigQueryKeys.setCommunityConfig, args],
}),
...params,
});
};
Expand Down

0 comments on commit 841091e

Please sign in to comment.