From 443049f82684cc4660bf68a5cbcb4fdbcdf27139 Mon Sep 17 00:00:00 2001 From: misteroh Date: Wed, 31 Jul 2019 21:32:22 -0700 Subject: [PATCH] fix(app): adding icon to cart in header --- app/src/views/Navigation/Navigation.tsx | 3 ++- package.json | 7 +++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/app/src/views/Navigation/Navigation.tsx b/app/src/views/Navigation/Navigation.tsx index d6cd1f21b..c8b4f6af0 100644 --- a/app/src/views/Navigation/Navigation.tsx +++ b/app/src/views/Navigation/Navigation.tsx @@ -20,6 +20,7 @@ import { SubmenuPane, Logo, } from './styled' +import { IoIosCart } from 'react-icons/io' interface MenuProps { activeMenu: null | string @@ -130,7 +131,7 @@ export const Navigation = () => { - Cart {cartCount} + {cartCount} diff --git a/package.json b/package.json index 1c1dc803a..418bd3e60 100644 --- a/package.json +++ b/package.json @@ -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", @@ -33,5 +33,8 @@ "post-merge": "yarnhook", "post-rewrite": "yarnhook" } + }, + "dependencies": { + "react-icons": "^3.7.0" } }