Created
November 21, 2019 15:25
-
-
Save richardprice-1990/43a7fda943011852ae7278f6e6db76f7 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
const handleUpdateFilter = e => { | |
e.target.value !== 'default' | |
? onUpdateFilters({ | |
...filters.selected, | |
[e.target.name]: e.target.value, | |
}) | |
: null; | |
}; | |
// Expected an assignment or function call and instead saw an expression |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment