Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
maxcell committed May 24, 2022
1 parent 69a6a18 commit 1d54452
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/components/AddNotification/AddNotification.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ const AddNotification = (props) => {
</div>

<div className={styles.actionContainer}>
<Button onClick={props.openCart} level={'secondary'}>view my bag (1)</Button>
<Button onClick={props.openCart} level={'secondary'}>
view my bag (1)
</Button>
<Button level="primary" href="/cart">
checkout
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ const Header = (prop) => {
</div>
</button>
<div className={styles.notificationContainer}>
<AddNotification openCart={() => setShowMiniCart(true)} />
<AddNotification openCart={() => setShowMiniCart(true)} />
</div>
</div>
</div>
Expand Down

0 comments on commit 1d54452

Please sign in to comment.