docs: fix typo in article

This commit is contained in:
Corbin Crutchley
2023-12-18 22:24:51 -08:00
parent b507b2e7f7
commit 225040d6d2

View File

@@ -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);
});