From c743f03014b6bd13b2f923c1a688a6f8d51cf9bc Mon Sep 17 00:00:00 2001 From: Ariel Merino Date: Sat, 10 Aug 2024 03:55:15 -0600 Subject: [PATCH] docs: typo in scaling-performance.mdx (#3275) --- docs/advanced/scaling-performance.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced/scaling-performance.mdx b/docs/advanced/scaling-performance.mdx index 4f295034fc..45d8dc4ea0 100644 --- a/docs/advanced/scaling-performance.mdx +++ b/docs/advanced/scaling-performance.mdx @@ -227,7 +227,7 @@ You can also use the onChange callback to get notified when the average changes ```jsx import round from 'lodash/round' -const [dpr, set] = useState(1) +const [dpr, setDpr] = useState(1) return ( setDpr(round(0.5 + 1.5 * factor, 1))}>