pull/1194/head
Peer Richelsen 2021-11-09 09:37:47 +00:00
parent 3d34ca7610
commit f78cbf2c70
1 changed files with 2 additions and 2 deletions

View File

@ -37,12 +37,12 @@ function getLibrary(provider: ExternalProvider | JsonRpcFetchFunc) {
export default function Web3Integration() {
return (
<Web3ReactProvider getLibrary={getLibrary}>
<Home />
<Web3Component />
</Web3ReactProvider>
);
}
function Home() {
function Web3Component() {
const { t } = useLocale();
const web3React = useWeb3React();
const [, setLoaded] = useState(false);