setState method of useState igets “ not a function error ”

后端 未结 0 384
臣服心动
臣服心动 2021-02-09 04:15

I have a parent and a child component.

here\'s the parent code:

import { useContext, useRef, useState } from "react";

import CustomSelectMenu fr         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题