l-min-components 1.0.683 → 1.0.686

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "l-min-components",
3
- "version": "1.0.683",
3
+ "version": "1.0.686",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "src/assets",
@@ -48,7 +48,12 @@ const AppMainLayout = () => {
48
48
  const [accessToken, setAccessToken] = useState("");
49
49
  const [envType, setEnvType] = useState("");
50
50
  const [newNotifications, setNewNotifications] = useState([]);
51
- const { setDefaultAccount, handleSetDefaultAccount } = useHeader();
51
+ const {
52
+ setDefaultAccount,
53
+ handleSetDefaultAccount,
54
+ notificationMarkReadData,
55
+ handleGetNotificationMarkRead,
56
+ } = useHeader();
52
57
 
53
58
  useEffect(() => {
54
59
  if (window.location.host.includes("coming")) {
@@ -151,6 +156,8 @@ const AppMainLayout = () => {
151
156
  envType,
152
157
  newNotifications,
153
158
  setNewNotifications,
159
+ notificationMarkReadData,
160
+ handleGetNotificationMarkRead
154
161
  }}
155
162
  >
156
163
  <Layout
@@ -364,7 +364,7 @@ const HeaderComponent = (props) => {
364
364
  useEffect(() => {
365
365
  handleGetUnreadNotification();
366
366
  handleGeneralNotificationCount();
367
- }, [notificationMarkReadData?.response]);
367
+ }, [props?.notificationMarkReadData?.response]);
368
368
 
369
369
  return (
370
370
  <Navbar>