Skip to content

Commit

Permalink
Changed "Proceed without Metamask" element to Link instead of <b> tag (
Browse files Browse the repository at this point in the history
  • Loading branch information
shanejonas authored Sep 30, 2021
1 parent 9af95d0 commit 0bd339f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/api-documentation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Warning from "@material-ui/icons/Warning";
import PlaygroundSplitPane from "../components/PlaygroundSplitPane";
const $RefParser = require("@apidevtools/json-schema-ref-parser"); //tslint:disable-line
import { useTheme } from "@material-ui/core/styles";
import Link from "@material-ui/core/Link";
import useInspectorActionStore from "../stores/inspectorActionStore";
import { OpenrpcDocument } from "@open-rpc/meta-schema";

Expand Down Expand Up @@ -231,7 +232,7 @@ const ApiDocumentation: React.FC = () => {
</div>
</DialogTitle>
<DialogContent dividers>
<Typography>Install MetaMask for your platform and refresh the page. The interactive features in this documentation require installing the MetaMask extension. <b onClick={() => setShowInstallDialog(false)} >Proceed without MetaMask</b></Typography>
<Typography>Install MetaMask for your platform and refresh the page. The interactive features in this documentation require installing the MetaMask extension. <Link variant="body2" component="button" onClick={() => setShowInstallDialog(false)} >Proceed without MetaMask</Link></Typography>
</DialogContent>
<DialogActions>
<Button onClick={() => window.location.reload()}>Refresh</Button>
Expand Down

0 comments on commit 0bd339f

Please sign in to comment.