diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml new file mode 100644 index 0000000..74f81d6 --- /dev/null +++ b/pnpm-workspace.yaml @@ -0,0 +1,5 @@ +allowBuilds: + '@parcel/watcher': false + esbuild: false + puppeteer: false + unrs-resolver: false diff --git a/src/components/Redistribution.tsx b/src/components/Redistribution.tsx index 1e0c0c8..c848e9b 100644 --- a/src/components/Redistribution.tsx +++ b/src/components/Redistribution.tsx @@ -1,6 +1,8 @@ -import { RedistributionState, BZZ, DAI } from '@ethersphere/bee-js' +import { BZZ, DAI, RedistributionState } from '@ethersphere/bee-js' import { useContext, useEffect, useState } from 'react' + import { Context } from '../providers/Settings' + import ExpandableListItem from './ExpandableListItem' export function Redistribution() { diff --git a/src/components/SideBar.tsx b/src/components/SideBar.tsx index 06011d8..cad889f 100644 --- a/src/components/SideBar.tsx +++ b/src/components/SideBar.tsx @@ -4,10 +4,10 @@ import { ReactElement, useContext, useState } from 'react' import { Link } from 'react-router-dom' import FilesIcon from 'remixicon-react/ArrowUpDownLineIcon' import DocsIcon from 'remixicon-react/BookOpenLineIcon' +import ExchangeDollarLineIcon from 'remixicon-react/ExchangeDollarLineIcon' import ExternalLinkIcon from 'remixicon-react/ExternalLinkLineIcon' import FileManagerIcon from 'remixicon-react/FolderOpenLineIcon' import GithubIcon from 'remixicon-react/GithubFillIcon' -import ExchangeDollarLineIcon from 'remixicon-react/ExchangeDollarLineIcon' import HomeIcon from 'remixicon-react/Home3LineIcon' import MenuFoldIcon from 'remixicon-react/MenuFoldLineIcon' import MenuUnfoldIcon from 'remixicon-react/MenuUnfoldLineIcon' diff --git a/src/pages/redistribution/index.tsx b/src/pages/redistribution/index.tsx index dc8bb84..6cfda85 100644 --- a/src/pages/redistribution/index.tsx +++ b/src/pages/redistribution/index.tsx @@ -1,5 +1,6 @@ -import CircularProgress from '@material-ui/core/CircularProgress' +import CircularProgress from '@mui/material/CircularProgress' import { ReactElement, useContext } from 'react' + import ExpandableList from '../../components/ExpandableList' import { Redistribution } from '../../components/Redistribution' import { Context as SettingsContext } from '../../providers/Settings' diff --git a/src/routes.tsx b/src/routes.tsx index 483c4af..d8dcff7 100644 --- a/src/routes.tsx +++ b/src/routes.tsx @@ -17,6 +17,7 @@ import { UploadLander } from './pages/files/UploadLander' import GiftCards from './pages/giftCode' import Info from './pages/info' import PageNotFound from './pages/notFound/PageNotFound' +import RedistributionPage from './pages/redistribution' import LightModeRestart from './pages/restart/LightModeRestart' import Settings from './pages/settings' import { CreatePostageStampPage } from './pages/stamps/CreatePostageStampAdvancedPage' @@ -28,7 +29,6 @@ import { CryptoTopUpIndex } from './pages/topUp/CryptoTopUpIndex' import { GiftCardFund } from './pages/topUp/GiftCardFund' import { GiftCardTopUpIndex } from './pages/topUp/GiftCardTopUpIndex' import { Swap } from './pages/topUp/Swap' -import RedistributionPage from './pages/redistribution' import { Context as SettingsContext } from './providers/Settings' export enum ROUTES {