After deploying to netlify one page of react project is not showing. Console shows error "TypeError: Object(...) is not a function"

After deploying to netlify one page of react project is not showing. Console shows error "TypeError: Object(...) is not a function"

我遇到了一个问题。当我在 netlify 上部署时,我的 React 应用程序在本地主机上运行,​​但出现错误 with the type error 的空白页面。 任何人都可以帮助我吗? 4天多了我还是解决不了这个问题

enter image description here 这是我的代码显示错误的地方

import { useState } from 'react/cjs/react.development'
import React, { useEffect } from 'react'

改变这个

import React, { useState, useEffect } from 'react'