Skip to content

fix: remove unused React import in ObjectView.test.tsx#1293

Merged
hotlong merged 1 commit intomainfrom
copilot/fix-ci-build-errors-another-one
May 7, 2026
Merged

fix: remove unused React import in ObjectView.test.tsx#1293
hotlong merged 1 commit intomainfrom
copilot/fix-ci-build-errors-another-one

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 7, 2026

CI build fails with error TS6133: 'React' is declared but its value is never read due to noUnusedLocals: true in tsconfig.

  • Remove unused const React = await import('react') in the vi.mock('@object-ui/react') block — JSX there uses the automatic react-jsx transform and doesn't need the variable

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectui-demo Ready Ready Preview, Comment May 7, 2026 6:44am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
objectui Ignored Ignored May 7, 2026 6:44am

Request Review

@hotlong hotlong marked this pull request as ready for review May 7, 2026 06:44
@hotlong hotlong merged commit b7965e3 into main May 7, 2026
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants