1
0
mirror of https://github.com/onkelbeh/cheatsheets.git synced 2025-10-17 07:57:43 +02:00

spell check

This commit is contained in:
Mark Chavez 2017-10-19 07:16:20 +08:00
parent 10a9f3cda6
commit 6c747c0e6e

View File

@ -91,7 +91,7 @@ import { connect } from 'react-redux'
```js
// A functional React component
function App ({ messasge, onMessageClick }) {
function App ({ message, onMessageClick }) {
return (
<div onClick={() => onMessageClick('hello')}>
{message}