mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
remove skeleton animations (#2505)
* remove skeleton animations test * eslint add Skeleton * eslint-fix
This commit is contained in:
+1
-1
@@ -27,7 +27,7 @@ const RESTRICTED_MODULES = {
|
||||
{ name: 'playwright/TestApp', message: 'Please use render() fixture from test() function of playwright/lib module' },
|
||||
{
|
||||
name: '@chakra-ui/react',
|
||||
importNames: [ 'Popover', 'Menu', 'PinInput', 'useToast' ],
|
||||
importNames: [ 'Popover', 'Menu', 'PinInput', 'useToast', 'Skeleton' ],
|
||||
message: 'Please use corresponding component or hook from ui/shared/chakra component instead',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// eslint-disable-next-line no-restricted-imports
|
||||
import { Skeleton as SkeletonComponent } from '@chakra-ui/react';
|
||||
import {
|
||||
defineStyle,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { chakra, Tooltip, Hide, Skeleton, Flex } from '@chakra-ui/react';
|
||||
import { chakra, Tooltip, Hide, Flex } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { CsvExportParams } from 'types/client/address';
|
||||
@@ -8,6 +8,7 @@ import { route } from 'nextjs-routes';
|
||||
import config from 'configs/app';
|
||||
import useIsInitialLoading from 'lib/hooks/useIsInitialLoading';
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { Box, Flex, Skeleton, Text } from '@chakra-ui/react';
|
||||
import { Box, Flex, Text } from '@chakra-ui/react';
|
||||
import React, { useMemo } from 'react';
|
||||
|
||||
import type { NovesResponseData } from 'types/api/noves';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { Td, Tr, Skeleton, Box } from '@chakra-ui/react';
|
||||
import { Td, Tr, Box } from '@chakra-ui/react';
|
||||
import React, { useMemo } from 'react';
|
||||
|
||||
import type { NovesResponseData } from 'types/api/noves';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
import NovesFromTo from 'ui/shared/Noves/NovesFromTo';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Text, Flex } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -8,6 +8,7 @@ import config from 'configs/app';
|
||||
import getBlockTotalReward from 'lib/block/getBlockTotalReward';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import BlockGasUsed from 'ui/shared/block/BlockGasUsed';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
import TimeAgoWithTooltip from 'ui/shared/TimeAgoWithTooltip';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Td, Tr, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Td, Tr, Flex } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -7,6 +7,7 @@ import type { Block } from 'types/api/block';
|
||||
import config from 'configs/app';
|
||||
import getBlockTotalReward from 'lib/block/getBlockTotalReward';
|
||||
import BlockGasUsed from 'ui/shared/block/BlockGasUsed';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import TimeAgoWithTooltip from 'ui/shared/TimeAgoWithTooltip';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text, Stat, StatHelpText, StatArrow, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Text, Stat, StatHelpText, StatArrow, Flex } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { AddressCoinBalanceHistoryItem } from 'types/api/address';
|
||||
|
||||
import { WEI, ZERO } from 'lib/consts';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Td, Tr, Text, Stat, StatHelpText, StatArrow, Skeleton } from '@chakra-ui/react';
|
||||
import { Td, Tr, Text, Stat, StatHelpText, StatArrow } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressCoinBalanceHistoryItem } from 'types/api/address';
|
||||
|
||||
import { WEI, ZERO } from 'lib/consts';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TimeAgoWithTooltip from 'ui/shared/TimeAgoWithTooltip';
|
||||
|
||||
@@ -6,7 +6,6 @@ import {
|
||||
PopoverBody,
|
||||
PopoverContent,
|
||||
Image,
|
||||
Skeleton,
|
||||
useDisclosure,
|
||||
useColorModeValue,
|
||||
} from '@chakra-ui/react';
|
||||
@@ -14,6 +13,7 @@ import React from 'react';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Popover from 'ui/shared/chakra/Popover';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkExternal from 'ui/shared/links/LinkExternal';
|
||||
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
import { Button, Skeleton } from '@chakra-ui/react';
|
||||
import { Button } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
|
||||
interface Props {
|
||||
isLoading: boolean;
|
||||
addressHash: string;
|
||||
|
||||
@@ -10,7 +10,6 @@ import {
|
||||
PopoverBody,
|
||||
PopoverContent,
|
||||
PopoverTrigger,
|
||||
Skeleton,
|
||||
StackDivider,
|
||||
useDisclosure,
|
||||
VStack,
|
||||
@@ -22,6 +21,7 @@ import type { SmartContractExternalLibrary } from 'types/api/contract';
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import { apos } from 'lib/html-entities';
|
||||
import Popover from 'ui/shared/chakra/Popover';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { chakra, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra, Flex } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import LinkNewTab from 'ui/shared/links/LinkNewTab';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, Skeleton, Text, Tooltip } from '@chakra-ui/react';
|
||||
import { Flex, Text, Tooltip } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { SmartContract } from 'types/api/contract';
|
||||
@@ -6,6 +6,7 @@ import type { SmartContract } from 'types/api/contract';
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import formatLanguageName from 'lib/contracts/formatLanguageName';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
import CodeEditor from 'ui/shared/monaco/CodeEditor';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { chakra, Alert, Box, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra, Alert, Box, Flex } from '@chakra-ui/react';
|
||||
import type { Channel } from 'phoenix';
|
||||
import React from 'react';
|
||||
|
||||
@@ -8,6 +8,7 @@ import type { SmartContract } from 'types/api/contract';
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import useSocketMessage from 'lib/socket/useSocketMessage';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import LinkExternal from 'ui/shared/links/LinkExternal';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { chakra, useColorModeValue, Flex, GridItem, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra, useColorModeValue, Flex, GridItem } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Hint from 'ui/shared/Hint';
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Alert, Button, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Alert, Button, Flex } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import config from 'configs/app';
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import useWeb3Wallet from 'lib/web3/useWallet';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Alert, Skeleton } from '@chakra-ui/react';
|
||||
import { Alert } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
interface Props {
|
||||
isLoading?: boolean;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Button, Flex, Skeleton, useDisclosure } from '@chakra-ui/react';
|
||||
import { Button, Flex, useDisclosure } from '@chakra-ui/react';
|
||||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
@@ -8,6 +8,7 @@ import type { SmartContract } from 'types/api/contract';
|
||||
import useApiQuery, { getResourceKey } from 'lib/api/useApiQuery';
|
||||
import getQueryParamString from 'lib/router/getQueryParamString';
|
||||
import CustomAbiModal from 'ui/customAbi/CustomAbiModal/CustomAbiModal';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import RawDataSnippet from 'ui/shared/RawDataSnippet';
|
||||
import AuthGuard from 'ui/snippets/auth/AuthGuard';
|
||||
import useIsAuth from 'ui/snippets/auth/useIsAuth';
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import { Skeleton } from '@chakra-ui/react';
|
||||
import type { UseQueryResult } from '@tanstack/react-query';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
@@ -8,6 +7,7 @@ import type { AddressCounters } from 'types/api/address';
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import type { ResourceError } from 'lib/api/resources';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
interface Props {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Skeleton } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { Address } from 'types/api/address';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Skeleton, Text, Flex } from '@chakra-ui/react';
|
||||
import { Text, Flex } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { Address } from 'types/api/address';
|
||||
@@ -6,6 +6,7 @@ import type { Address } from 'types/api/address';
|
||||
import config from 'configs/app';
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import * as mixpanel from 'lib/mixpanel/index';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import TextSeparator from 'ui/shared/TextSeparator';
|
||||
|
||||
import { getTokensTotalInfo } from '../utils/tokenUtils';
|
||||
|
||||
@@ -12,7 +12,6 @@ import {
|
||||
useDisclosure,
|
||||
Tooltip,
|
||||
IconButton,
|
||||
Skeleton,
|
||||
} from '@chakra-ui/react';
|
||||
import { useRouter } from 'next/router';
|
||||
import QRCode from 'qrcode';
|
||||
@@ -23,6 +22,7 @@ import type { Address as AddressType } from 'types/api/address';
|
||||
import getPageType from 'lib/mixpanel/getPageType';
|
||||
import * as mixpanel from 'lib/mixpanel/index';
|
||||
import { useRollbar } from 'lib/rollbar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Image, Skeleton } from '@chakra-ui/react';
|
||||
import { Image } from '@chakra-ui/react';
|
||||
import { useQuery } from '@tanstack/react-query';
|
||||
import React from 'react';
|
||||
import * as v from 'valibot';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import LinkExternal from 'ui/shared/links/LinkExternal';
|
||||
import TextSeparator from 'ui/shared/TextSeparator';
|
||||
|
||||
|
||||
@@ -8,7 +8,6 @@ import {
|
||||
PopoverContent,
|
||||
PopoverTrigger,
|
||||
Show,
|
||||
Skeleton,
|
||||
useDisclosure,
|
||||
chakra,
|
||||
} from '@chakra-ui/react';
|
||||
@@ -23,6 +22,7 @@ import { route } from 'nextjs-routes';
|
||||
import type { ResourceError } from 'lib/api/resources';
|
||||
import dayjs from 'lib/date/dayjs';
|
||||
import Popover from 'ui/shared/chakra/Popover';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import EnsEntity from 'ui/shared/entities/ens/EnsEntity';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Skeleton } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressEpochRewardsItem } from 'types/api/address';
|
||||
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Flex, Td, Tr, Text, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex, Td, Tr, Text } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressEpochRewardsItem } from 'types/api/address';
|
||||
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, HStack, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex, HStack } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -7,6 +7,7 @@ import type { InternalTransaction } from 'types/api/internalTransaction';
|
||||
import config from 'configs/app';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import AddressFromTo from 'ui/shared/address/AddressFromTo';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Tag from 'ui/shared/chakra/Tag';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Tr, Td, Box, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Tr, Td, Box, Flex } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { InternalTransaction } from 'types/api/internalTransaction';
|
||||
|
||||
import config from 'configs/app';
|
||||
import AddressFromTo from 'ui/shared/address/AddressFromTo';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Tag from 'ui/shared/chakra/Tag';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Divider, Text, Skeleton, useBoolean, Flex, Link, VStack, chakra, Box, Grid, GridItem } from '@chakra-ui/react';
|
||||
import { Divider, Text, useBoolean, Flex, Link, VStack, chakra, Box, Grid, GridItem } from '@chakra-ui/react';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { AddressMudTableItem } from 'types/api/address';
|
||||
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Tag from 'ui/shared/chakra/Tag';
|
||||
import HashStringShorten from 'ui/shared/HashStringShorten';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Td, Tr, Text, Skeleton, useBoolean, Link, Table, VStack, chakra } from '@chakra-ui/react';
|
||||
import { Td, Tr, Text, useBoolean, Link, Table, VStack, chakra } from '@chakra-ui/react';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { AddressMudTableItem } from 'types/api/address';
|
||||
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Tag from 'ui/shared/chakra/Tag';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Box, Flex, IconButton, Skeleton, Tooltip } from '@chakra-ui/react';
|
||||
import { Box, Flex, IconButton, Tooltip } from '@chakra-ui/react';
|
||||
import { useQueryClient, useIsFetching } from '@tanstack/react-query';
|
||||
import _sumBy from 'lodash/sumBy';
|
||||
import NextLink from 'next/link';
|
||||
@@ -11,6 +11,7 @@ import { getResourceKey } from 'lib/api/useApiQuery';
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import * as mixpanel from 'lib/mixpanel/index';
|
||||
import getQueryParamString from 'lib/router/getQueryParamString';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
import useFetchTokens from '../utils/useFetchTokens';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Box, Button, Skeleton, chakra, useColorModeValue } from '@chakra-ui/react';
|
||||
import { Box, Button, chakra, useColorModeValue } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { FormattedData } from './types';
|
||||
|
||||
import { space } from 'lib/html-entities';
|
||||
import * as mixpanel from 'lib/mixpanel/index';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
import { getTokensTotalInfo } from '../utils/tokenUtils';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Box, Flex, Text, Grid, HStack, Skeleton } from '@chakra-ui/react';
|
||||
import { Box, Flex, Text, Grid, HStack } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import { route } from 'nextjs-routes';
|
||||
@@ -6,6 +6,7 @@ import { route } from 'nextjs-routes';
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import { apos } from 'lib/html-entities';
|
||||
import ActionBar from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Flex, HStack, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex, HStack } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressTokenBalance } from 'types/api/address';
|
||||
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import AddressAddToWallet from 'ui/shared/address/AddressAddToWallet';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Tr, Td, Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Tr, Td, Flex } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressTokenBalance } from 'types/api/address';
|
||||
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import AddressAddToWallet from 'ui/shared/address/AddressAddToWallet';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Tag, Flex, Text, Link, Skeleton, LightMode } from '@chakra-ui/react';
|
||||
import { Tag, Flex, Text, Link, LightMode } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressNFT } from 'types/api/address';
|
||||
@@ -7,6 +7,7 @@ import { route } from 'nextjs-routes';
|
||||
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import { getTokenTypeName } from 'lib/token/tokenTypes';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import NftEntity from 'ui/shared/entities/nft/NftEntity';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
import NftMedia from 'ui/shared/nft/NftMedia';
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { Box, Flex, Skeleton, Text, useColorModeValue } from '@chakra-ui/react';
|
||||
import { Box, Flex, Text, useColorModeValue } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
type Props = {
|
||||
name: string;
|
||||
value: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, HStack, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex, HStack } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -7,6 +7,7 @@ import type { AddressesItem } from 'types/api/addresses';
|
||||
import config from 'configs/app';
|
||||
import { ZERO } from 'lib/consts';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Tag from 'ui/shared/chakra/Tag';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Tr, Td, Text, Skeleton, Flex } from '@chakra-ui/react';
|
||||
import { Tr, Td, Text, Flex } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressesItem } from 'types/api/addresses';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Tag from 'ui/shared/chakra/Tag';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HStack, Skeleton } from '@chakra-ui/react';
|
||||
import { HStack } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { AddressesItem } from 'types/api/addresses';
|
||||
|
||||
import config from 'configs/app';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Tr, Td, Text, Skeleton } from '@chakra-ui/react';
|
||||
import { Tr, Td, Text } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { AddressesItem } from 'types/api/addresses';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
|
||||
type Props = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { AdvancedFilterResponseItem } from 'types/api/advancedFilter';
|
||||
@@ -7,6 +7,7 @@ import config from 'configs/app';
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import type { ColumnsIds } from 'ui/advancedFilter/constants';
|
||||
import AddressFromToIcon from 'ui/shared/address/AddressFromToIcon';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Tag from 'ui/shared/chakra/Tag';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, GridItem, Skeleton, Button } from '@chakra-ui/react';
|
||||
import { Flex, GridItem, Button } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import * as blobUtils from 'lib/blob';
|
||||
@@ -8,6 +8,7 @@ import downloadBlob from 'lib/downloadBlob';
|
||||
import hexToBase64 from 'lib/hexToBase64';
|
||||
import hexToBytes from 'lib/hexToBytes';
|
||||
import hexToUtf8 from 'lib/hexToUtf8';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import RawDataSnippet from 'ui/shared/RawDataSnippet';
|
||||
import Select from 'ui/shared/select/Select';
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { Alert, Grid, GridItem, Skeleton } from '@chakra-ui/react';
|
||||
import { Alert, Grid, GridItem } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { Blob } from 'types/api/blobs';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem';
|
||||
import DetailsInfoItemDivider from 'ui/shared/DetailsInfoItemDivider';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Grid, GridItem, Text, Link, Box, Tooltip, Skeleton } from '@chakra-ui/react';
|
||||
import { Grid, GridItem, Text, Link, Box, Tooltip } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import capitalize from 'lodash/capitalize';
|
||||
import { useRouter } from 'next/router';
|
||||
@@ -20,6 +20,7 @@ import getQueryParamString from 'lib/router/getQueryParamString';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import OptimisticL2TxnBatchDA from 'ui/shared/batch/OptimisticL2TxnBatchDA';
|
||||
import BlockGasUsed from 'ui/shared/block/BlockGasUsed';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem';
|
||||
import DetailsInfoItemDivider from 'ui/shared/DetailsInfoItemDivider';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Box, Flex, IconButton, Skeleton, useDisclosure } from '@chakra-ui/react';
|
||||
import { Box, Flex, IconButton, useDisclosure } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { BlockEpoch, BlockEpochElectionReward } from 'types/api/block';
|
||||
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
import EpochRewardTypeTag from 'ui/shared/EpochRewardTypeTag';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Flex, IconButton, Skeleton, Td, Tr, useDisclosure } from '@chakra-ui/react';
|
||||
import { Flex, IconButton, Td, Tr, useDisclosure } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { BlockEpoch, BlockEpochElectionReward } from 'types/api/block';
|
||||
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import TokenEntity from 'ui/shared/entities/token/TokenEntity';
|
||||
import EpochRewardTypeTag from 'ui/shared/EpochRewardTypeTag';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, Skeleton, Text, Box, Tooltip } from '@chakra-ui/react';
|
||||
import { Flex, Text, Box, Tooltip } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import capitalize from 'lodash/capitalize';
|
||||
import React from 'react';
|
||||
@@ -13,6 +13,7 @@ import { WEI } from 'lib/consts';
|
||||
import getNetworkValidatorTitle from 'lib/networks/getNetworkValidatorTitle';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import BlockGasUsed from 'ui/shared/block/BlockGasUsed';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Flex, Box, Text, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex, Box, Text } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { PaginationParams } from 'ui/shared/pagination/types';
|
||||
@@ -8,6 +8,7 @@ import { route } from 'nextjs-routes';
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
import { nbsp } from 'lib/html-entities';
|
||||
import { HOMEPAGE_STATS } from 'stubs/stats';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
import Pagination from 'ui/shared/pagination/Pagination';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Tr, Td, Flex, Box, Tooltip, Skeleton, useColorModeValue } from '@chakra-ui/react';
|
||||
import { Tr, Td, Flex, Box, Tooltip, useColorModeValue } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import { motion } from 'framer-motion';
|
||||
import React from 'react';
|
||||
@@ -11,6 +11,7 @@ import config from 'configs/app';
|
||||
import getBlockTotalReward from 'lib/block/getBlockTotalReward';
|
||||
import { WEI } from 'lib/consts';
|
||||
import BlockGasUsed from 'ui/shared/block/BlockGasUsed';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { Box, Skeleton } from '@chakra-ui/react';
|
||||
import { Box } from '@chakra-ui/react';
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
import type { CustomAbi } from 'types/api/account';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
import TableItemActionButtons from 'ui/shared/TableItemActionButtons';
|
||||
|
||||
@@ -2,12 +2,12 @@ import {
|
||||
Tr,
|
||||
Td,
|
||||
Box,
|
||||
Skeleton,
|
||||
} from '@chakra-ui/react';
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
import type { CustomAbi } from 'types/api/account';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import TableItemActionButtons from 'ui/shared/TableItemActionButtons';
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Skeleton } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { OptimisticL2DepositsItem } from 'types/api/optimisticL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntityL1 from 'ui/shared/entities/address/AddressEntityL1';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Td, Tr, Skeleton } from '@chakra-ui/react';
|
||||
import { Td, Tr } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { OptimisticL2DepositsItem } from 'types/api/optimisticL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntityL1 from 'ui/shared/entities/address/AddressEntityL1';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Skeleton, chakra } from '@chakra-ui/react';
|
||||
import { chakra } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { ScrollL2MessageItem } from 'types/api/scrollL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Td, Tr, Skeleton, chakra } from '@chakra-ui/react';
|
||||
import { Td, Tr, chakra } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { ScrollL2MessageItem } from 'types/api/scrollL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import getCurrencyValue from 'lib/getCurrencyValue';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Skeleton, chakra } from '@chakra-ui/react';
|
||||
import { chakra } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { ZkEvmL2DepositsItem } from 'types/api/zkEvmL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Td, Tr, Skeleton, chakra } from '@chakra-ui/react';
|
||||
import { Td, Tr, chakra } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { ZkEvmL2DepositsItem } from 'types/api/zkEvmL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import { Skeleton } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { OptimisticL2DisputeGamesItem } from 'types/api/optimisticL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import BlockEntityL2 from 'ui/shared/entities/block/BlockEntityL2';
|
||||
import HashStringShorten from 'ui/shared/HashStringShorten';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Flex, Td, Tr, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex, Td, Tr } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { OptimisticL2DisputeGamesItem } from 'types/api/optimisticL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import BlockEntityL2 from 'ui/shared/entities/block/BlockEntityL2';
|
||||
import HashStringShorten from 'ui/shared/HashStringShorten';
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { Skeleton, chakra } from '@chakra-ui/react';
|
||||
import { chakra } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import { mdash } from 'lib/html-entities';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
|
||||
interface Props {
|
||||
percentage: number;
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Box, Flex, Skeleton, useColorModeValue } from '@chakra-ui/react';
|
||||
import { Box, Flex, useColorModeValue } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { GasPriceInfo, GasPrices } from 'types/api/stats';
|
||||
|
||||
import { SECOND } from 'lib/consts';
|
||||
import { asymp } from 'lib/html-entities';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import GasPrice from 'ui/shared/gas/GasPrice';
|
||||
import type { IconName } from 'ui/shared/IconSvg';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { chakra, Box, Heading, Flex, Text, VStack, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra, Box, Heading, Flex, Text, VStack } from '@chakra-ui/react';
|
||||
import { useQueryClient } from '@tanstack/react-query';
|
||||
import { AnimatePresence } from 'framer-motion';
|
||||
import React from 'react';
|
||||
@@ -16,6 +16,7 @@ import useSocketChannel from 'lib/socket/useSocketChannel';
|
||||
import useSocketMessage from 'lib/socket/useSocketMessage';
|
||||
import { BLOCK } from 'stubs/block';
|
||||
import { HOMEPAGE_STATS } from 'stubs/stats';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
import LatestBlocksItem from './LatestBlocksItem';
|
||||
|
||||
@@ -2,7 +2,6 @@ import {
|
||||
Box,
|
||||
Flex,
|
||||
Grid,
|
||||
Skeleton,
|
||||
Tooltip,
|
||||
} from '@chakra-ui/react';
|
||||
import { motion } from 'framer-motion';
|
||||
@@ -13,6 +12,7 @@ import type { Block } from 'types/api/block';
|
||||
import config from 'configs/app';
|
||||
import getBlockTotalReward from 'lib/block/getBlockTotalReward';
|
||||
import getNetworkValidatorTitle from 'lib/networks/getNetworkValidatorTitle';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import BlockEntity from 'ui/shared/entities/block/BlockEntity';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
@@ -4,7 +4,6 @@ import {
|
||||
HStack,
|
||||
Text,
|
||||
Grid,
|
||||
Skeleton,
|
||||
} from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
@@ -14,6 +13,7 @@ import config from 'configs/app';
|
||||
import getValueWithUnit from 'lib/getValueWithUnit';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import AddressFromTo from 'ui/shared/address/AddressFromTo';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxStatus from 'ui/shared/statusTag/TxStatus';
|
||||
import TimeAgoWithTooltip from 'ui/shared/TimeAgoWithTooltip';
|
||||
|
||||
@@ -3,7 +3,6 @@ import {
|
||||
Flex,
|
||||
HStack,
|
||||
Text,
|
||||
Skeleton,
|
||||
} from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
@@ -13,6 +12,7 @@ import config from 'configs/app';
|
||||
import getValueWithUnit from 'lib/getValueWithUnit';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import AddressFromTo from 'ui/shared/address/AddressFromTo';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxStatus from 'ui/shared/statusTag/TxStatus';
|
||||
import TimeAgoWithTooltip from 'ui/shared/TimeAgoWithTooltip';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text, Flex, Box, Skeleton, useColorModeValue } from '@chakra-ui/react';
|
||||
import { Text, Flex, Box, useColorModeValue } from '@chakra-ui/react';
|
||||
import type { UseQueryResult } from '@tanstack/react-query';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { HomeStats } from 'types/api/stats';
|
||||
import type { ChainIndicatorId } from 'types/homepage';
|
||||
|
||||
import type { ResourceError } from 'lib/api/resources';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
|
||||
interface Props {
|
||||
id: ChainIndicatorId;
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Flex, Skeleton, Text, useColorModeValue } from '@chakra-ui/react';
|
||||
import { Flex, Text, useColorModeValue } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import config from 'configs/app';
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
import { HOMEPAGE_STATS } from 'stubs/stats';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import Hint from 'ui/shared/Hint';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import {
|
||||
Box,
|
||||
Flex,
|
||||
Skeleton,
|
||||
} from '@chakra-ui/react';
|
||||
import { motion } from 'framer-motion';
|
||||
import React from 'react';
|
||||
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BatchEntityL2 from 'ui/shared/entities/block/BatchEntityL2';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
import TimeAgoWithTooltip from 'ui/shared/TimeAgoWithTooltip';
|
||||
|
||||
@@ -3,13 +3,13 @@ import {
|
||||
Flex,
|
||||
Grid,
|
||||
GridItem,
|
||||
Skeleton,
|
||||
} from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import { route } from 'nextjs-routes';
|
||||
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -2,11 +2,11 @@ import {
|
||||
Box,
|
||||
Flex,
|
||||
Grid,
|
||||
Skeleton,
|
||||
} from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Link, Skeleton, useColorModeValue, LinkBox, Flex, Image, LinkOverlay, IconButton } from '@chakra-ui/react';
|
||||
import { Link, useColorModeValue, LinkBox, Flex, Image, LinkOverlay, IconButton } from '@chakra-ui/react';
|
||||
import NextLink from 'next/link';
|
||||
import type { MouseEvent } from 'react';
|
||||
import React, { useCallback } from 'react';
|
||||
@@ -7,6 +7,7 @@ import type { MarketplaceAppPreview } from 'types/client/marketplace';
|
||||
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import * as mixpanel from 'lib/mixpanel/index';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
|
||||
import FavoriteIcon from '../FavoriteIcon';
|
||||
import MarketplaceAppIntegrationIcon from '../MarketplaceAppIntegrationIcon';
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import { IconButton, Image, Link, LinkBox, Skeleton, useColorModeValue, Flex } from '@chakra-ui/react';
|
||||
import { IconButton, Image, Link, LinkBox, useColorModeValue, Flex } from '@chakra-ui/react';
|
||||
import type { MouseEvent } from 'react';
|
||||
import React from 'react';
|
||||
|
||||
import type { MarketplaceAppPreview } from 'types/client/marketplace';
|
||||
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
|
||||
import FavoriteIcon from '../FavoriteIcon';
|
||||
import MarketplaceAppCardLink from '../MarketplaceAppCardLink';
|
||||
import MarketplaceAppIntegrationIcon from '../MarketplaceAppIntegrationIcon';
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { Link, Skeleton, Box } from '@chakra-ui/react';
|
||||
import { Link, Box } from '@chakra-ui/react';
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
import * as mixpanel from 'lib/mixpanel/index';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
|
||||
const IframeBanner = ({ contentUrl, linkUrl }: { contentUrl: string; linkUrl: string }) => {
|
||||
const [ isFrameLoading, setIsFrameLoading ] = useState(true);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IconButton, Image, Link, LinkBox, Skeleton, useColorModeValue, chakra, Flex } from '@chakra-ui/react';
|
||||
import { IconButton, Image, Link, LinkBox, useColorModeValue, chakra, Flex } from '@chakra-ui/react';
|
||||
import type { MouseEvent } from 'react';
|
||||
import React, { useCallback } from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { MarketplaceAppWithSecurityReport, ContractListTypes, AppRating } f
|
||||
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import isBrowser from 'lib/isBrowser';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
|
||||
import AppSecurityReport from './AppSecurityReport';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { chakra, Flex, Tooltip, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra, Flex, Tooltip } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { MarketplaceAppOverview, MarketplaceAppSecurityReport, ContractListTypes } from 'types/client/marketplace';
|
||||
@@ -9,6 +9,7 @@ import config from 'configs/app';
|
||||
import { useAppContext } from 'lib/contexts/app';
|
||||
import useIsMobile from 'lib/hooks/useIsMobile';
|
||||
import RewardsButton from 'ui/rewards/RewardsButton';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import IconSvg from 'ui/shared/IconSvg';
|
||||
import LinkExternal from 'ui/shared/links/LinkExternal';
|
||||
import LinkInternal from 'ui/shared/links/LinkInternal';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Text, PopoverTrigger, PopoverBody, PopoverContent, useDisclosure, Skeleton, useOutsideClick, Box } from '@chakra-ui/react';
|
||||
import { Text, PopoverTrigger, PopoverBody, PopoverContent, useDisclosure, useOutsideClick, Box } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { AppRating } from 'types/client/marketplace';
|
||||
@@ -6,6 +6,7 @@ import type { AppRating } from 'types/client/marketplace';
|
||||
import config from 'configs/app';
|
||||
import type { EventTypes, EventPayload } from 'lib/mixpanel/index';
|
||||
import Popover from 'ui/shared/chakra/Popover';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
|
||||
import Content from './PopoverContent';
|
||||
import Stars from './Stars';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Hide, Show, Skeleton } from '@chakra-ui/react';
|
||||
import { Hide, Show } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
@@ -8,6 +8,7 @@ import { generateListStub } from 'stubs/utils';
|
||||
import ArbitrumL2MessagesListItem from 'ui/messages/ArbitrumL2MessagesListItem';
|
||||
import ArbitrumL2MessagesTable from 'ui/messages/ArbitrumL2MessagesTable';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Skeleton, chakra } from '@chakra-ui/react';
|
||||
import { chakra } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { ArbitrumL2MessagesItem } from 'types/api/arbitrumL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Td, Tr, Skeleton, chakra } from '@chakra-ui/react';
|
||||
import { Td, Tr, chakra } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { ArbitrumL2MessagesItem } from 'types/api/arbitrumL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import BlockEntityL1 from 'ui/shared/entities/block/BlockEntityL1';
|
||||
import TxEntity from 'ui/shared/entities/tx/TxEntity';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { HStack, Skeleton } from '@chakra-ui/react';
|
||||
import { HStack } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { MudWorldItem } from 'types/api/mudWorlds';
|
||||
|
||||
import config from 'configs/app';
|
||||
import { currencyUnits } from 'lib/units';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import ListItemMobile from 'ui/shared/ListItemMobile/ListItemMobile';
|
||||
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Text, Td, Tr, Skeleton } from '@chakra-ui/react';
|
||||
import { Text, Td, Tr } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
import type { MudWorldItem } from 'types/api/mudWorlds';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
|
||||
type Props = { item: MudWorldItem; isLoading?: boolean };
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Grid, Skeleton, Tooltip, Flex } from '@chakra-ui/react';
|
||||
import { Grid, Tooltip, Flex } from '@chakra-ui/react';
|
||||
import type { UseQueryResult } from '@tanstack/react-query';
|
||||
import React from 'react';
|
||||
|
||||
@@ -10,6 +10,7 @@ import config from 'configs/app';
|
||||
import type { ResourceError } from 'lib/api/resources';
|
||||
import dayjs from 'lib/date/dayjs';
|
||||
import stripTrailingSlash from 'lib/stripTrailingSlash';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import * as DetailsInfoItem from 'ui/shared/DetailsInfoItem';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import NftEntity from 'ui/shared/entities/nft/NftEntity';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
import { Skeleton } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type * as bens from '@blockscout/bens-types';
|
||||
|
||||
import dayjs from 'lib/date/dayjs';
|
||||
import NameDomainExpiryStatus from 'ui/nameDomain/NameDomainExpiryStatus';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import EnsEntity from 'ui/shared/entities/ens/EnsEntity';
|
||||
import ListItemMobileGrid from 'ui/shared/ListItemMobile/ListItemMobileGrid';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { chakra, Tr, Td, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra, Tr, Td } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type * as bens from '@blockscout/bens-types';
|
||||
|
||||
import dayjs from 'lib/date/dayjs';
|
||||
import NameDomainExpiryStatus from 'ui/nameDomain/NameDomainExpiryStatus';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import EnsEntity from 'ui/shared/entities/ens/EnsEntity';
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Flex, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { OptimisticL2OutputRootsItem } from 'types/api/optimisticL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import BlockEntityL2 from 'ui/shared/entities/block/BlockEntityL2';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Flex, Td, Tr, Skeleton } from '@chakra-ui/react';
|
||||
import { Flex, Td, Tr } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import type { OptimisticL2OutputRootsItem } from 'types/api/optimisticL2';
|
||||
|
||||
import config from 'configs/app';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import CopyToClipboard from 'ui/shared/CopyToClipboard';
|
||||
import BlockEntityL2 from 'ui/shared/entities/block/BlockEntityL2';
|
||||
import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { chakra, Flex, Hide, Show, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra, Flex, Hide, Show } from '@chakra-ui/react';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
|
||||
@@ -10,6 +10,7 @@ import { generateListStub } from 'stubs/utils';
|
||||
import AddressesLabelSearchListItem from 'ui/addressesLabelSearch/AddressesLabelSearchListItem';
|
||||
import AddressesLabelSearchTable from 'ui/addressesLabelSearch/AddressesLabelSearchTable';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import EntityTag from 'ui/shared/EntityTags/EntityTag';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Box, Button, Link, Text, Skeleton, useDisclosure } from '@chakra-ui/react';
|
||||
import { Box, Button, Link, Text, useDisclosure } from '@chakra-ui/react';
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
import type { ApiKey } from 'types/api/account';
|
||||
@@ -11,6 +11,7 @@ import ApiKeyListItem from 'ui/apiKey/ApiKeyTable/ApiKeyListItem';
|
||||
import ApiKeyTable from 'ui/apiKey/ApiKeyTable/ApiKeyTable';
|
||||
import DeleteApiKeyModal from 'ui/apiKey/DeleteApiKeyModal';
|
||||
import AccountPageDescription from 'ui/shared/AccountPageDescription';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataFetchAlert from 'ui/shared/DataFetchAlert';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useRedirectForInvalidAuthToken from 'ui/snippets/auth/useRedirectForInvalidAuthToken';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Hide, Show, Skeleton, Text } from '@chakra-ui/react';
|
||||
import { Hide, Show, Text } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
import { ARBITRUM_L2_TXN_BATCHES_ITEM } from 'stubs/arbitrumL2';
|
||||
import { generateListStub } from 'stubs/utils';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Hide, Show, Skeleton, Text } from '@chakra-ui/react';
|
||||
import { Hide, Show, Text } from '@chakra-ui/react';
|
||||
import BigNumber from 'bignumber.js';
|
||||
import React from 'react';
|
||||
|
||||
@@ -9,6 +9,7 @@ import { currencyUnits } from 'lib/units';
|
||||
import { generateListStub } from 'stubs/utils';
|
||||
import { WITHDRAWAL } from 'stubs/withdrawals';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';
|
||||
|
||||
+2
-1
@@ -1,4 +1,4 @@
|
||||
import { chakra, Skeleton } from '@chakra-ui/react';
|
||||
import { chakra } from '@chakra-ui/react';
|
||||
import capitalize from 'lodash/capitalize';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
@@ -23,6 +23,7 @@ import useBlockTxsQuery from 'ui/block/useBlockTxsQuery';
|
||||
import useBlockWithdrawalsQuery from 'ui/block/useBlockWithdrawalsQuery';
|
||||
import TextAd from 'ui/shared/ad/TextAd';
|
||||
import ServiceDegradationWarning from 'ui/shared/alerts/ServiceDegradationWarning';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import AddressEntity from 'ui/shared/entities/address/AddressEntity';
|
||||
import NetworkExplorers from 'ui/shared/NetworkExplorers';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
|
||||
+2
-1
@@ -1,4 +1,4 @@
|
||||
import { Button, Flex, Link, Skeleton, Text } from '@chakra-ui/react';
|
||||
import { Button, Flex, Link, Text } from '@chakra-ui/react';
|
||||
import type { NextRouter } from 'next/router';
|
||||
import { useRouter } from 'next/router';
|
||||
import React from 'react';
|
||||
@@ -16,6 +16,7 @@ import * as metadata from 'lib/metadata';
|
||||
import * as mixpanel from 'lib/mixpanel/index';
|
||||
import getQueryParamString from 'lib/router/getQueryParamString';
|
||||
import isCustomAppError from 'ui/shared/AppError/isCustomAppError';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import ChartIntervalSelect from 'ui/shared/chart/ChartIntervalSelect';
|
||||
import ChartMenu from 'ui/shared/chart/ChartMenu';
|
||||
import ChartWidgetContent from 'ui/shared/chart/ChartWidgetContent';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Box, Button, Skeleton, useDisclosure } from '@chakra-ui/react';
|
||||
import { Box, Button, useDisclosure } from '@chakra-ui/react';
|
||||
import React, { useCallback, useState } from 'react';
|
||||
|
||||
import type { CustomAbi } from 'types/api/account';
|
||||
@@ -10,6 +10,7 @@ import CustomAbiListItem from 'ui/customAbi/CustomAbiTable/CustomAbiListItem';
|
||||
import CustomAbiTable from 'ui/customAbi/CustomAbiTable/CustomAbiTable';
|
||||
import DeleteCustomAbiModal from 'ui/customAbi/DeleteCustomAbiModal';
|
||||
import AccountPageDescription from 'ui/shared/AccountPageDescription';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataFetchAlert from 'ui/shared/DataFetchAlert';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useRedirectForInvalidAuthToken from 'ui/snippets/auth/useRedirectForInvalidAuthToken';
|
||||
|
||||
@@ -3,7 +3,6 @@ import {
|
||||
Box,
|
||||
Flex,
|
||||
Heading,
|
||||
Skeleton,
|
||||
chakra,
|
||||
} from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
@@ -16,6 +15,7 @@ import GasTrackerChart from 'ui/gasTracker/GasTrackerChart';
|
||||
import GasTrackerFaq from 'ui/gasTracker/GasTrackerFaq';
|
||||
import GasTrackerNetworkUtilization from 'ui/gasTracker/GasTrackerNetworkUtilization';
|
||||
import GasTrackerPrices from 'ui/gasTracker/GasTrackerPrices';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import GasInfoUpdateTimer from 'ui/shared/gas/GasInfoUpdateTimer';
|
||||
import NativeTokenIcon from 'ui/shared/NativeTokenIcon';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Hide, Show, Skeleton } from '@chakra-ui/react';
|
||||
import { Hide, Show } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
@@ -8,6 +8,7 @@ import { generateListStub } from 'stubs/utils';
|
||||
import OptimisticDepositsListItem from 'ui/deposits/optimisticL2/OptimisticDepositsListItem';
|
||||
import OptimisticDepositsTable from 'ui/deposits/optimisticL2/OptimisticDepositsTable';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Hide, Show, Skeleton, Text } from '@chakra-ui/react';
|
||||
import { Hide, Show, Text } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
@@ -7,6 +7,7 @@ import { generateListStub } from 'stubs/utils';
|
||||
import OptimisticL2DisputeGamesListItem from 'ui/disputeGames/optimisticL2/OptimisticL2DisputeGamesListItem';
|
||||
import OptimisticL2DisputeGamesTable from 'ui/disputeGames/optimisticL2/OptimisticL2DisputeGamesTable';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Hide, Show, Skeleton, Text } from '@chakra-ui/react';
|
||||
import { Hide, Show, Text } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
@@ -7,6 +7,7 @@ import { generateListStub } from 'stubs/utils';
|
||||
import OptimisticL2OutputRootsListItem from 'ui/outputRoots/optimisticL2/OptimisticL2OutputRootsListItem';
|
||||
import OptimisticL2OutputRootsTable from 'ui/outputRoots/optimisticL2/OptimisticL2OutputRootsTable';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
import { Hide, Show, Skeleton, Text } from '@chakra-ui/react';
|
||||
import { Hide, Show, Text } from '@chakra-ui/react';
|
||||
import React from 'react';
|
||||
|
||||
import useApiQuery from 'lib/api/useApiQuery';
|
||||
import { L2_TXN_BATCHES_ITEM } from 'stubs/L2';
|
||||
import { generateListStub } from 'stubs/utils';
|
||||
import { ACTION_BAR_HEIGHT_DESKTOP } from 'ui/shared/ActionBar';
|
||||
import Skeleton from 'ui/shared/chakra/Skeleton';
|
||||
import DataListDisplay from 'ui/shared/DataListDisplay';
|
||||
import PageTitle from 'ui/shared/Page/PageTitle';
|
||||
import useQueryWithPages from 'ui/shared/pagination/useQueryWithPages';
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user