Last active
March 18, 2019 22:00
-
-
Save ajcrites/22989f2bee9a9ec447a9e15efe6cbc5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -10,7 +10,7 @@ export const ColorInput = () => { | |
useEffect(() => { | |
input.current.value = '!'; | |
if ('!' === input.current.value) { | |
setShow(false); | |
} | |
- }); | |
+ }, []); | |
const onChange = ({ target: { value } }) => { | |
setHex(value); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment