mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-18 17:02:12 +00:00
fix(Tooltip): update when label change
This commit is contained in:
parent
e9c654bd29
commit
d75c50db6b
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ const Tooltip = ({ label, position, margin }) => {
|
|||
tooltip.remove(id.current);
|
||||
}
|
||||
};
|
||||
}, []);
|
||||
}, [label]);
|
||||
|
||||
return (
|
||||
<div ref={element} className={styles['tooltip']} />
|
||||
|
|
|
|||
Loading…
Reference in a new issue