Skip to content

Commit

Permalink
Merge pull request scaffold-eth#766 from GonzaloEsperidioni/master
Browse files Browse the repository at this point in the history
fix prettier warnings
  • Loading branch information
codenamejason authored May 5, 2022
2 parents 5f6d910 + 11be124 commit ebc02e2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
11 changes: 3 additions & 8 deletions packages/react-app/src/components/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,16 @@ import React from "react";

// displays a page header

export default function Header({link, title, subTitle}) {
export default function Header({ link, title, subTitle }) {
return (
<a href={link} target="_blank" rel="noopener noreferrer">
<PageHeader
title={title}
subTitle={subTitle}
style={{ cursor: "pointer" }}
/>
<PageHeader title={title} subTitle={subTitle} style={{ cursor: "pointer" }} />
</a>
);
}


Header.defaultProps = {
link: "https://github.com/austintgriffith/scaffold-eth",
title: "🏗 scaffold-eth",
subTitle: "forkable Ethereum dev stack focused on fast product iteration",
}
};
4 changes: 2 additions & 2 deletions packages/react-app/src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export const NETWORKS = {
color: "#53CBC9",
chainId: 1284,
blockExplorer: "https://moonscan.io",
rpcUrl: "https://rpc.api.moonbeam.network",
rpcUrl: "https://rpc.api.moonbeam.network",
},
moonriver: {
name: "moonriver",
Expand All @@ -200,7 +200,7 @@ export const NETWORKS = {
chainId: 1281,
blockExplorer: "https://moonbeam-explorer.netlify.app/",
rpcUrl: "http://127.0.0.1:9933",
}
},
};

export const NETWORK = chainId => {
Expand Down

0 comments on commit ebc02e2

Please sign in to comment.