mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 04:33:10 +00:00
Removed unused nextId variable (#6470)
This commit is contained in:
@@ -409,7 +409,6 @@ For example:
|
||||
```js
|
||||
import { useState } from 'react';
|
||||
|
||||
let nextId = 3;
|
||||
const initialList = [
|
||||
{ id: 0, title: 'Big Bellies' },
|
||||
{ id: 1, title: 'Lunar Landscape' },
|
||||
|
||||
Reference in New Issue
Block a user