Skip to content

Commit

Permalink
fixed tooltip showing after page changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Andcool-Systems committed Dec 28, 2024
1 parent f7f24c2 commit a3a41b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/modules/utils/workshopCacheListener.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ const WorkshopCacheListener = (): null => {
if (!pathname.startsWith('/workshop')) {
sessionStorage.removeItem('workshopState');
}
const tooltip = document.getElementById('global_tooltip');
tooltip && document.body.removeChild(tooltip);
}, [pathname]);

return null;
Expand Down

0 comments on commit a3a41b2

Please sign in to comment.