Skip to content

Commit

Permalink
Merge pull request #51 from kleros/refactor/main-router
Browse files Browse the repository at this point in the history
refactor(main-router): remove beta risk warning
  • Loading branch information
0xferit authored Nov 17, 2021
2 parents 5b6479f + 0a58825 commit f135b76
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions src/app/MainRouter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import loadable from '@loadable/component';
import { Layout } from 'antd';
import { ConnectedRouter } from 'connected-react-router';
import { Alert, Spin } from '~/adapters/antd';
import DismissableAlert from '~/features/ui/DismissableAlert';
import { selectPreference } from '~/features/ui/uiSlice';
import { getNetworkName, useSwitchToChainFromUrl } from '~/features/web3';
import { getCounterPartyChainId, isSupportedSideChain } from '~/features/web3/supportedChains';
Expand Down Expand Up @@ -128,21 +127,7 @@ function GlobalWarnings() {
}
`}
>
{isSupportedSideChain(chainId) && (
<DismissableAlert
banner
type="warning"
id="global.betaWarning"
message="Linguo is still in beta. Use it at your own risk."
css={`
position: absolute;
z-index: 1;
top: 0;
left: 0;
right: 0;
`}
/>
)}
{isSupportedSideChain(chainId)}
{!isSupportedSideChain(chainId) && (
<Alert
banner
Expand Down

0 comments on commit f135b76

Please sign in to comment.