File tree Expand file tree Collapse file tree 3 files changed +1
-23
lines changed Expand file tree Collapse file tree 3 files changed +1
-23
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import Link from 'next/link';
9
9
*/
10
10
const Hamburger = ( ) => {
11
11
const [ isExpanded , setisExpanded ] = useState ( false ) ;
12
-
13
12
const hamburgerSlideDownAnimation = useSpring ( {
14
13
to : [
15
14
{
@@ -69,7 +68,6 @@ const Hamburger = () => {
69
68
>
70
69
< path d = "M0 3h20v2H0V3zm0 6h20v2H0V9zm0 6h20v2H0v-2z" > </ path >
71
70
</ animated . svg >
72
-
73
71
< animated . svg
74
72
id = "xsvg"
75
73
onClick = { ( ) => {
Original file line number Diff line number Diff line change @@ -8,4 +8,4 @@ module.exports = {
8
8
extend : { } ,
9
9
} ,
10
10
plugins : [ ] ,
11
- }
11
+ } ;
Original file line number Diff line number Diff line change @@ -40,26 +40,6 @@ export const getFloatVal = (string) => {
40
40
: '' ;
41
41
} ;
42
42
43
- /**
44
- * Update cart when we add a new product to it
45
- * @param {Object } existingCart
46
- * @param {Object } product
47
- * @param {Number } quantityToBeAdded
48
- */
49
- export const updateCart = (
50
- existingCart ,
51
- product ,
52
- quantityToBeAdded ,
53
- newQuantity = false
54
- ) => {
55
- getUpdatedProducts (
56
- existingCart . products ,
57
- product ,
58
- quantityToBeAdded ,
59
- newQuantity
60
- ) ;
61
- } ;
62
-
63
43
/**
64
44
* Returns cart data in the required format.
65
45
* @param {String } data Cart data
You can’t perform that action at this time.
0 commit comments