Fixes a memory leak caused by React Strict Mode running useMemo twice on render, which is not ideal for operations with side effects (like connecting to Heartbeat). Updating the Motion has been moved to a manual Heartbeat connection instead of implicitly starting in useMemo.
Upgraded dependencies and applied ESLint and Prettier fixes.
Fixes a memory leak caused by React Strict Mode running
useMemo
twice on render, which is not ideal for operations with side effects (like connecting to Heartbeat). Updating the Motion has been moved to a manual Heartbeat connection instead of implicitly starting inuseMemo
.Upgraded dependencies and applied ESLint and Prettier fixes.