mirror of
https://github.com/optim-enterprises-bv/OptimCloud-gw-ui.git
synced 2025-10-30 17:57:46 +00:00
[WIFI-11760] Potential fix for duplicate error fetching device notifications on device page
Signed-off-by: Charles <charles.bourque96@gmail.com>
This commit is contained in:
4
package-lock.json
generated
4
package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "ucentral-client",
|
||||
"version": "2.8.0(26)",
|
||||
"version": "2.8.0(27)",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "ucentral-client",
|
||||
"version": "2.8.0(26)",
|
||||
"version": "2.8.0(27)",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@chakra-ui/icons": "^2.0.11",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ucentral-client",
|
||||
"version": "2.8.0(26)",
|
||||
"version": "2.8.0(27)",
|
||||
"description": "",
|
||||
"private": true,
|
||||
"main": "index.tsx",
|
||||
|
||||
@@ -223,7 +223,7 @@ export const useGetDevice = ({ serialNumber, onClose }: { serialNumber?: string;
|
||||
onError: (e: AxiosError) => {
|
||||
if (!toast.isActive('gateway-device-fetching-error'))
|
||||
toast({
|
||||
id: 'gateway-device-error',
|
||||
id: 'gateway-device-fetching-error',
|
||||
title: t('common.error'),
|
||||
description:
|
||||
e?.response?.status === 404
|
||||
|
||||
Reference in New Issue
Block a user