fix: update useTabUuid

This commit is contained in:
yassinedorbozgithub 2025-01-29 13:01:22 +01:00
parent e3d113470b
commit 83c85c31a7

View File

@ -24,6 +24,7 @@ export const useTabUuid = (key: string = "tab_uuid") => {
sessionStorage.setItem(key, newUuid); sessionStorage.setItem(key, newUuid);
tabUuidRef.current = newUuid; tabUuidRef.current = newUuid;
} }
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []); }, []);
return tabUuidRef; return tabUuidRef;