mirror of
https://github.com/LukeHagar/unicorn-utterances.git
synced 2025-12-07 21:07:47 +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}
|
||||
import { cache, useState, useReducer } from "react"
|
||||
|
||||
const test = cache((id) => {
|
||||
const alertCounter = cache((id) => {
|
||||
alert(id);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user