Move hooks into proper folder

This commit is contained in:
Nicola Benaglia
2025-05-24 12:26:21 +02:00
parent 0209418c1d
commit b23ce1a136
7 changed files with 6 additions and 6 deletions

View File

@@ -22,7 +22,7 @@ import { Add } from '@mui/icons-material';
import { QORTAL_APP_CONTEXT, getBaseApiReact } from '../../App';
import { executeEvent } from '../../utils/events';
import { Spacer } from '../../common/Spacer';
import { useModal } from '../../common/useModal';
import { useModal } from '../../hooks/useModal.tsx';
import { createEndpoint, isUsingLocal } from '../../background/background.ts';
import { Label } from '../Group/AddGroup';
import ShortUniqueId from 'short-unique-id';

View File

@@ -20,7 +20,7 @@ import {
} from '../../utils/events';
import { validateAddress } from '../../utils/validateAddress';
import { getNameInfo, requestQueueMemberNames } from './Group';
import { useModal } from '../../common/useModal';
import { useModal } from '../../hooks/useModal';
import { isOpenBlockedModalAtom } from '../../atoms/global';
import InfoIcon from '@mui/icons-material/Info';
import { useAtom } from 'jotai';

View File

@@ -24,7 +24,7 @@ import {
import { getFee } from '../../background/background.ts';
import { Spacer } from '../../common/Spacer';
import { FidgetSpinner } from 'react-loader-spinner';
import { useModal } from '../../common/useModal';
import { useModal } from '../../hooks/useModal.tsx';
import { useAtom, useSetAtom } from 'jotai';
import { memberGroupsAtom, txListAtom } from '../../atoms/global';
import { useTranslation } from 'react-i18next';

View File

@@ -28,7 +28,7 @@ import {
storeWallets,
walletVersion,
} from '../background/background.ts';
import { useModal } from '../common/useModal.tsx';
import { useModal } from '../hooks/useModal.tsx';
import PhraseWallet from '../utils/generateWallet/phrase-wallet.ts';
import { decryptStoredWalletFromSeedPhrase } from '../utils/decryptWallet.ts';
import { crypto } from '../constants/decryptWallet.ts';