Skip to content

Commit f135b76

Browse files
authored
Merge pull request #51 from kleros/refactor/main-router
refactor(main-router): remove beta risk warning
2 parents 5b6479f + 0a58825 commit f135b76

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/app/MainRouter.jsx

+1-16
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import loadable from '@loadable/component';
66
import { Layout } from 'antd';
77
import { ConnectedRouter } from 'connected-react-router';
88
import { Alert, Spin } from '~/adapters/antd';
9-
import DismissableAlert from '~/features/ui/DismissableAlert';
109
import { selectPreference } from '~/features/ui/uiSlice';
1110
import { getNetworkName, useSwitchToChainFromUrl } from '~/features/web3';
1211
import { getCounterPartyChainId, isSupportedSideChain } from '~/features/web3/supportedChains';
@@ -128,21 +127,7 @@ function GlobalWarnings() {
128127
}
129128
`}
130129
>
131-
{isSupportedSideChain(chainId) && (
132-
<DismissableAlert
133-
banner
134-
type="warning"
135-
id="global.betaWarning"
136-
message="Linguo is still in beta. Use it at your own risk."
137-
css={`
138-
position: absolute;
139-
z-index: 1;
140-
top: 0;
141-
left: 0;
142-
right: 0;
143-
`}
144-
/>
145-
)}
130+
{isSupportedSideChain(chainId)}
146131
{!isSupportedSideChain(chainId) && (
147132
<Alert
148133
banner

0 commit comments

Comments
 (0)