Skip to content

Commit

Permalink
Little mistake, ops
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Sep 30, 2022
1 parent 55283b5 commit 141aa96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/rest/createTransaction/index.ts
Expand Up @@ -4,8 +4,6 @@ import { useMasaMutation, useRestCall } from '../../helpers/rest-calls';

const path = 'contracts/transaction';

const queryClient = useQueryClient();

export function useMethod({ body }: any) {
const { data, error, loading, getData } = useRestCall({
headers: Headers,
Expand All @@ -17,6 +15,8 @@ export function useMethod({ body }: any) {
}

export function useSimpleMethod({ pathParameters, body, settings }: any) {
const queryClient = useQueryClient();

const masaQuery = useMasaMutation(
'create-transaction',
{
Expand Down

0 comments on commit 141aa96

Please sign in to comment.