File tree 1 file changed +1
-16
lines changed
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';
6
6
import { Layout } from 'antd' ;
7
7
import { ConnectedRouter } from 'connected-react-router' ;
8
8
import { Alert , Spin } from '~/adapters/antd' ;
9
- import DismissableAlert from '~/features/ui/DismissableAlert' ;
10
9
import { selectPreference } from '~/features/ui/uiSlice' ;
11
10
import { getNetworkName , useSwitchToChainFromUrl } from '~/features/web3' ;
12
11
import { getCounterPartyChainId , isSupportedSideChain } from '~/features/web3/supportedChains' ;
@@ -128,21 +127,7 @@ function GlobalWarnings() {
128
127
}
129
128
` }
130
129
>
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 ) }
146
131
{ ! isSupportedSideChain ( chainId ) && (
147
132
< Alert
148
133
banner
You can’t perform that action at this time.
0 commit comments