fix: white text on disconnect screen (#753)

* fix: white text on disconnect screen

* fix: white text on something went wrong page
This commit is contained in:
Dexter Edwards 2022-07-13 16:58:25 +01:00 committed by GitHub
parent 359414f353
commit e0f01f530f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -68,7 +68,7 @@ export const Web3Content = ({ children, appChainId }: Web3ContentProps) => {
return (
<Splash>
<div className="flex flex-col items-center gap-12">
<p>Something went wrong: {error.message}</p>
<p className="text-white">Something went wrong: {error.message}</p>
<Button onClick={() => connector.deactivate()}>Disconnect</Button>
</div>
</Splash>
@ -79,7 +79,9 @@ export const Web3Content = ({ children, appChainId }: Web3ContentProps) => {
return (
<Splash>
<div className="flex flex-col items-center gap-12">
<p>This app only works on chain ID: {appChainId}</p>
<p className="text-white">
This app only works on chain ID: {appChainId}
</p>
<Button onClick={() => connector.deactivate()}>Disconnect</Button>
</div>
</Splash>