Created
September 10, 2019 18:20
-
-
Save diericx/8e4efd459fd03db00da3c513b0f4c14e 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
function Bad({onEvent}) { | |
if (some condition) { | |
onEvent(); | |
} | |
return <h1>Uh oh</h1>; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment