const storage=window.localStorage;
if(storage!=undefined){
if(storage.hasOwnProperty("cid")&&storage.getItem("cid")>0){
this.setState({
toogle:false
})
}
}else{
this.setState({
toogle:true
})
}
}
const storage=window.localStorage;
if(storage!=undefined){
if(storage.hasOwnProperty("cid")&&storage.getItem("cid")>0){
this.setState({
toogle:false
})
}
}else{
this.setState({
toogle:true
})
}
}