Skip to content

Commit 6ccb52e

Browse files
chore(Stat): add missing useEffect dep
1 parent 1927353 commit 6ccb52e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Stat/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Stat = ({ tooltipProps, value, label, isError }: StatProps) => {
3636
if (!value) return
3737

3838
return setContent({ ...initialContent, contentValue: value })
39-
}, [isError])
39+
}, [isError, value])
4040

4141
return (
4242
<Flex flexDirection="column-reverse">

0 commit comments

Comments
 (0)