импортировать usestate
import React, { useState } from 'react';
Enthusiastic Eland
import React, { useState } from 'react';
import {useState} from "react";
import React, { useState } from 'react'