Skip to content

GateOverridesWarning is not defined #178

@nangelaile

Description

@nangelaile

bun run dev 后报错:

ERROR GateOverridesWarning is not defined

src/components/LogoV2/LogoV2.tsx:243:46

240: )}
241:
242: )}
243: {process.env.USER_TYPE === 'ant' && }
244: {process.env.USER_TYPE === 'ant' && }
245: </>
246: )

  • LogoV2 (src/components/LogoV2/LogoV2.tsx:243:46)
  • react_stack_bottom_frame (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:17596:20)
  • renderWithHooks (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:5335:22)
  • updateFunctionComponent (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:7720:19)
  • runWithFiberInDEV (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:2508:13)
  • performUnitOfWork (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:15273:22)
  • workLoopSync (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:15099:41)
  • renderRootSync (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:15080:11)
  • performWorkOnRoot (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:14245:35)
  • performSyncWorkOnRoot (node_modules/.bun/react-reconciler@0.33.0+b1ab299f0a400331/node_modules/react-reconciler/cjs/react-reconciler.development.js:3350:7)
  • async (src/main.tsx:5509:11)

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions