File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Expand file tree Collapse file tree 1 file changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ import loadable from '@loadable/component';
66import { Layout } from 'antd' ;
77import { ConnectedRouter } from 'connected-react-router' ;
88import { Alert , Spin } from '~/adapters/antd' ;
9- import DismissableAlert from '~/features/ui/DismissableAlert' ;
109import { selectPreference } from '~/features/ui/uiSlice' ;
1110import { getNetworkName , useSwitchToChainFromUrl } from '~/features/web3' ;
1211import { 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
You can’t perform that action at this time.
0 commit comments