wip
parent
3d34ca7610
commit
f78cbf2c70
|
@ -37,12 +37,12 @@ function getLibrary(provider: ExternalProvider | JsonRpcFetchFunc) {
|
||||||
export default function Web3Integration() {
|
export default function Web3Integration() {
|
||||||
return (
|
return (
|
||||||
<Web3ReactProvider getLibrary={getLibrary}>
|
<Web3ReactProvider getLibrary={getLibrary}>
|
||||||
<Home />
|
<Web3Component />
|
||||||
</Web3ReactProvider>
|
</Web3ReactProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
function Home() {
|
function Web3Component() {
|
||||||
const { t } = useLocale();
|
const { t } = useLocale();
|
||||||
const web3React = useWeb3React();
|
const web3React = useWeb3React();
|
||||||
const [, setLoaded] = useState(false);
|
const [, setLoaded] = useState(false);
|
||||||
|
|
Loading…
Reference in New Issue