mirror of
https://github.com/hexastack/hexabot
synced 2025-02-23 21:04:15 +00:00
fix: update useTabUuid
This commit is contained in:
parent
e3d113470b
commit
83c85c31a7
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user