l-min-components 1.0.687 → 1.0.691
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -185,7 +185,7 @@ const AppMainLayout = () => {
|
|
|
185
185
|
: window.location.pathname.includes("developer") ||
|
|
186
186
|
window.location.hostname.includes("developer")
|
|
187
187
|
? "developer"
|
|
188
|
-
:
|
|
188
|
+
: "developer"
|
|
189
189
|
}
|
|
190
190
|
isOpen={isOpen}
|
|
191
191
|
setIsOpen={setIsOpen}
|
|
@@ -57,12 +57,11 @@ const HeaderComponent = (props) => {
|
|
|
57
57
|
handleGetUnreadNotification,
|
|
58
58
|
generalNotificationCountData,
|
|
59
59
|
handleGeneralNotificationCount,
|
|
60
|
-
notificationMarkReadData,
|
|
61
60
|
notificationData,
|
|
62
61
|
handleGetNotification
|
|
63
62
|
} = useHeader();
|
|
64
63
|
const { pathname } = useLocation();
|
|
65
|
-
const { setGeneralData, generalData } = useContext(OutletContext);
|
|
64
|
+
const { setGeneralData, generalData, notificationMarkReadData } = useContext(OutletContext);
|
|
66
65
|
const [selectedAccount, setSelectedAccount] = useState();
|
|
67
66
|
|
|
68
67
|
useEffect(() => {
|
|
@@ -372,7 +371,7 @@ const HeaderComponent = (props) => {
|
|
|
372
371
|
useEffect(() => {
|
|
373
372
|
handleGetUnreadNotification();
|
|
374
373
|
handleGeneralNotificationCount();
|
|
375
|
-
}, [
|
|
374
|
+
}, [notificationMarkReadData?.response]);
|
|
376
375
|
|
|
377
376
|
return (
|
|
378
377
|
<Navbar>
|