Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
refine the etherscan api key message
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplantzzz committed Jun 5, 2023
1 parent 57c796f commit 902707a
Showing 1 changed file with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ const useStyles = createStyles(theme => ({
"&:hover": {
cursor: "pointer"
},
"color": "blue",
"textAlign": "right",
"color": "#E03131",
"fontSize": 14
},
halfWidth: {
Expand Down Expand Up @@ -87,17 +86,22 @@ function EtherScanApiKeyPrompt() {
} else {
const onElementClick = () => removeEtherscanApiKey();
return (
<Stack align="center" className={classes.etherscanMessageContainer}>
<Text size="sm" className={classes.halfWidth}>
We have found an Etherscan API key that you previously entered in your
browser. To delete this from browser storage, click the link below.
<Stack className={classes.promptContainer}>
<Text size="sm">
<b>
We found an EtherScan API key that you've previously entered via
your browser.
</b>{" "}
Delete it from browser storage to use another key.
</Text>
<Text
size="sm"
className={`${classes.reset} ${classes.halfWidth}`}
className={`${classes.reset}`}
onClick={onElementClick}
underline={true}
weight={700}
>
delete your api key
Delete API Key
</Text>
</Stack>
);
Expand Down

0 comments on commit 902707a

Please sign in to comment.