From 1db2fd0dfd797ec3b49bfc749f39dd4cb7d6d8a2 Mon Sep 17 00:00:00 2001 From: "Stanislav (Stanley) Modrak" <44023416+smith558@users.noreply.github.com> Date: Tue, 23 Jan 2024 10:44:06 +0000 Subject: [PATCH] Remove unused variables --- src/content/learn/adding-interactivity.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/content/learn/adding-interactivity.md b/src/content/learn/adding-interactivity.md index d1359d05ae3..0d4a3b23fce 100644 --- a/src/content/learn/adding-interactivity.md +++ b/src/content/learn/adding-interactivity.md @@ -646,7 +646,6 @@ Arrays are another type of mutable JavaScript objects you can store in state and ```js import { useState } from 'react'; -let nextId = 3; const initialList = [ { id: 0, title: 'Big Bellies', seen: false }, { id: 1, title: 'Lunar Landscape', seen: false }, @@ -714,7 +713,6 @@ If copying arrays in code gets tedious, you can use a library like [Immer](https import { useState } from 'react'; import { useImmer } from 'use-immer'; -let nextId = 3; const initialList = [ { id: 0, title: 'Big Bellies', seen: false }, { id: 1, title: 'Lunar Landscape', seen: false },