You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./components/SubscriberModal.tsx
160:6 Warning: React Hook useEffect has missing dependencies: 'oldDeviceGroupName', 'oldNetworkSliceName', 'selectedSlice', 'setDeviceGroup', and 'subscriber'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
This does not affect the build but it can cause infinite re rendering of the application when it is running.
To Reproduce
npm run install
npm run build
Expected behavior
When we build the NMS this warning should not exist
Additional context
Not an urgent issue
The text was updated successfully, but these errors were encountered:
patriciareinoso
changed the title
Missing dependencies on a React Hook warning when building the NMS
Missing dependencies on a useEffect React Hook warning when building the NMS
Jun 19, 2024
patriciareinoso
changed the title
Missing dependencies on a useEffect React Hook warning when building the NMS
useEffect React Hook warning when building the NMS
Jun 19, 2024
Describe the bug
When we build the NMS, there is a warning:
This does not affect the build but it can cause infinite re rendering of the application when it is running.
To Reproduce
Expected behavior
When we build the NMS this warning should not exist
Additional context
Not an urgent issue
The text was updated successfully, but these errors were encountered: