Skip to content
Prev Previous commit
Next Next commit
Update docs/example-react-hooks-useContext.md
Co-Authored-By: Adrià Fontcuberta <afontcu@gmail.com>
  • Loading branch information
iqbal125 and afontcu authored Jul 24, 2019
commit 06ee475f09c54f547ae4231034e7e1774bf3f1cd
2 changes: 1 addition & 1 deletion docs/example-react-hooks-useContext.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import Context from './context'


const App = () => {
const [state, setState] = useState("Some Text")
const [state, setState] = useState('Some Text')

const changeText = () => {
setState("Some Other Text")
Expand Down