Skip to content

Commit

Permalink
fix(app): adding icon to cart in header
Browse files Browse the repository at this point in the history
  • Loading branch information
misteroh10302 committed Aug 1, 2019
1 parent 2922413 commit 443049f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/src/views/Navigation/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
SubmenuPane,
Logo,
} from './styled'
import { IoIosCart } from 'react-icons/io'

interface MenuProps {
activeMenu: null | string
Expand Down Expand Up @@ -130,7 +131,7 @@ export const Navigation = () => {
<NavSection ready={ready} align="right">
<NavHeaderWrapper>
<NavHeader as="button" onClick={openCart}>
Cart {cartCount}
<IoIosCart /> {cartCount}
</NavHeader>
</NavHeaderWrapper>
</NavSection>
Expand Down
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"setup": "yarn install",
"test": "yarn workspace jemmawynne-app test",
"build": "yarn workspace jemmawynne-app build && yarn workspace jemmawynne-proxy build",
"start:app": "yarn workspace jemmawynne-app start",
"start:proxy": "yarn workspace jemmawynne-proxy start"
"start:app": "yarn workspace jemmawynne-app start",
"start:proxy": "yarn workspace jemmawynne-proxy start"
},
"devDependencies": {
"@commitlint/cli": "^8.0.0",
Expand All @@ -33,5 +33,8 @@
"post-merge": "yarnhook",
"post-rewrite": "yarnhook"
}
},
"dependencies": {
"react-icons": "^3.7.0"
}
}

1 comment on commit 443049f

@vercel
Copy link

@vercel vercel bot commented on 443049f Aug 1, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deployment failed with the following error:

Missing `start` (or `now-start`) script in `package.json`. See: https://docs.npmjs.com/cli/start

Please sign in to comment.