mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-10 04:22:06 +00:00
docs: fix typo in article
This commit is contained in:
@@ -59,7 +59,7 @@ Well, with `cache`, we can;
|
|||||||
```jsx {0,2-4,10}
|
```jsx {0,2-4,10}
|
||||||
import { cache, useState, useReducer } from "react"
|
import { cache, useState, useReducer } from "react"
|
||||||
|
|
||||||
const test = cache((id) => {
|
const alertCounter = cache((id) => {
|
||||||
alert(id);
|
alert(id);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user