docs: fixz splling typoes

This commit is contained in:
Vadim Dalecky 2019-11-18 13:47:31 -08:00 committed by GitHub
commit 6cbee3e712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ const Demo = () => {
<li>size: {size}</li>
</ul>
<button onClick={() => add((last || 0) + 1)}>Add</button>
<button onClick={() => pop()}>Remove</button>
<button onClick={() => remove()}>Remove</button>
</div>
);
};

View File

@ -13,7 +13,7 @@ const Demo = () => {
<li>size: {size}</li>
</ul>
<button onClick={() => add((last || 0) + 1)}>Add</button>
<button onClick={() => remove()}>Removw</button>
<button onClick={() => remove()}>Remove</button>
</div>
);
};