alarm count
This commit is contained in:
@@ -66,14 +66,14 @@ export const HeaderNavigation = ({
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if(headerType === HeaderType.Home){
|
||||
callAlarmCount();
|
||||
}
|
||||
}, [headerType]);
|
||||
useEffect(() => {
|
||||
let mids = useStore.getState().UserStore.selectOptionsMids;
|
||||
setSelectOptions(mids);
|
||||
|
||||
if(headerType === HeaderType.Alim){
|
||||
callAlarmCount();
|
||||
}
|
||||
}, [loginSuccess]);
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user