fix eslint warnings

This commit is contained in:
tmshv committed 2022-09-06 14:46:16 +03:00
1 parent 501ce4d3d0
commit 2e517cc7f7
5 files changed
+60 -63

No files matched your search

+2 -1
View File
@@ -16,7 +16,8 @@ export const Transition: React.FC<ITransitionProps> = props => {
}, [opacity])
const transition = React.useMemo(
() => `all ${props.duration}ms`,
[props.duration])
[props.duration]
)
React.useEffect(() => {
if (!props.show) {