Commit f5229ca8 authored by Moody Salem's avatar Moody Salem

linter error

parent 875203f0
...@@ -21,5 +21,5 @@ export default function useInterval(callback: () => void, delay: null | number, ...@@ -21,5 +21,5 @@ export default function useInterval(callback: () => void, delay: null | number,
return () => clearInterval(id) return () => clearInterval(id)
} }
return return
}, [delay]) }, [delay, leading])
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment