setting useState by math.random is not working properly

后端 未结 0 1828
说谎
说谎 2020-12-18 17:09

I gave a number value to an image to display some images randomly

export default function Main() {
  const [topVar, setTopVar] = useState();
  const [bottomVa         


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