Passed
Push — master ( 86c812...22096e )
by Oluwatobi
41s
created

helper/helper.js (2 issues)

1
const props = {
2
3
    checkStorage: function(key){
4
            if (localStorage.getItem(key).length == 0 ) {
5
                return false; 
6
            }else{
7
                return true;
8
            }
9
       },
10
11
       addStorage: function(key, value){
0 ignored issues
show
The parameter value is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
The parameter key is not used and could be removed.

This check looks for parameters in functions that are not used in the function body and are not followed by other parameters which are used inside the function.

Loading history...
12
         
13
   }
14
15
16
17
}
18
19
export default props;