We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e516e68 commit 1811908Copy full SHA for 1811908
docs/useQueue.md
@@ -19,7 +19,7 @@ const Demo = () => {
19
<li>size: {size}</li>
20
</ul>
21
<button onClick={() => add((last || 0) + 1)}>Add</button>
22
- <button onClick={() => pop()}>Remove</button>
+ <button onClick={() => remove()}>Remove</button>
23
</div>
24
);
25
};
src/__stories__/useQueue.story.tsx
@@ -13,7 +13,7 @@ const Demo = () => {
13
14
15
16
- <button onClick={() => remove()}>Removw</button>
17
18
0 commit comments