Skip to content

Commit

Permalink
refactor: import useAsyncResult method directly
Browse files Browse the repository at this point in the history
  • Loading branch information
digiwand committed Aug 13, 2024
1 parent 8a411d0 commit d4e60ac
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ui/pages/confirmations/components/confirm/row/dataTree.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { getTokenStandardAndDetails } from '../../../../../store/actions';

import { Box } from '../../../../../components/component-library';
import { BlockSize } from '../../../../../helpers/constants/design-system';
import * as hookModule from '../../../../../hooks/useAsyncResult';
import { useAsyncResult } from '../../../../../hooks/useAsyncResult';
import {
ConfirmInfoRow,
ConfirmInfoRowAddress,
Expand All @@ -20,8 +20,6 @@ import {
ConfirmInfoRowTextTokenUnits,
} from '../../../../../components/app/confirm/info/row';

const { useAsyncResult } = hookModule;

type ValueType = string | Record<string, TreeData> | TreeData[];

export type TreeData = {
Expand Down

0 comments on commit d4e60ac

Please sign in to comment.