mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
refactor: currency Form.
This commit is contained in:
@@ -25,7 +25,7 @@ export function useCreateCurrency(props) {
|
||||
export function useEditCurrency(props) {
|
||||
const queryClient = useQueryClient();
|
||||
|
||||
return useMutation((currencyCode, values) =>
|
||||
return useMutation(([currencyCode, values]) =>
|
||||
ApiService.post(`currencies/${currencyCode}`, values),
|
||||
{
|
||||
onSuccess: () => {
|
||||
|
||||
Reference in New Issue
Block a user