Skip to content

Commit 04329f3

Browse files
committed
Fix SonarCloud issues
- Unexpected empty arrow function. - Remove commented out code
1 parent 1309cf2 commit 04329f3

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pages/_app.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import NProgress from 'nprogress';
77
import Footer from 'components/Footer/Footer.component';
88

99
import "styles/index.css";
10-
//import 'styles/algolia.min.css'; // Not needed?
1110
import 'styles/animate.min.css';
1211
import 'nprogress/nprogress.css';
1312

utils/context/AppContext.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { useState, useEffect } from 'react';
22

3-
export const AppContext = React.createContext([{}, () => {}]);
3+
export const AppContext = React.createContext();
44

55
/**
66
* Provides a global application context for the entire application with the cart contents

0 commit comments

Comments
 (0)