Skip to content

Commit 540d48c

Browse files
Add Recharts
1 parent 732aa7f commit 540d48c

File tree

3 files changed

+199
-2
lines changed

3 files changed

+199
-2
lines changed

package-lock.json

Lines changed: 196 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"classnames": "^2.2.6",
1515
"react": "^16.13.1",
1616
"react-dom": "^16.13.1",
17-
"react-scripts": "3.4.1"
17+
"react-scripts": "3.4.1",
18+
"recharts": "^1.8.5"
1819
},
1920
"scripts": {
2021
"start": "react-scripts start",

src/components/Navbar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const styles = {
6060
top: 0,
6161
left: 0,
6262
backgroundColor: (props) =>
63-
props.isDarkMode ? "rgba(255,255,255,.6)" : colors.lightPurple,
63+
props.isDarkMode ? "rgba(255,255,255,.6)nop" : colors.lightPurple,
6464
transform: "translate(-.9rem, .4rem) skew(10deg, -5deg)",
6565
borderRadius: "25px",
6666
},

0 commit comments

Comments
 (0)