Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 14, 2026

Codacy flagged missing React imports in JSX files. The tsconfig uses "jsx": "preserve" which requires React to be explicitly in scope.

Changes

  • Added import React to 4 page components that use JSX:
    • performance.tsx
    • settings.tsx
    • todays-focus.tsx
    • onboarding.tsx

These files were modified during the React Router migration but lacked the React import required for JSX transformation.

// Before
import { useQuery } from "@tanstack/react-query";

// After
import React from "react";
import { useQuery } from "@tanstack/react-query";

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 14, 2026

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@codacy-production
Copy link

codacy-production bot commented Jan 14, 2026

Codacy's Analysis Summary

0 new issue (≤ 0 issue)
0 new security issue
0 complexity

Review Pull Request in Codacy →

AI Reviewer available: add the codacy-review label to get contextual insights without leaving GitHub.

Co-authored-by: MightyPrytanis <219587333+MightyPrytanis@users.noreply.github.com>
Copilot AI changed the title [WIP] Restore clean main with expanded tax calculations Add missing React imports to JSX files for TypeScript compliance Jan 14, 2026
Copilot AI requested a review from MightyPrytanis January 14, 2026 18:52
@MightyPrytanis MightyPrytanis marked this pull request as ready for review January 14, 2026 19:05
@MightyPrytanis MightyPrytanis merged commit 0531d97 into restore-clean-main Jan 14, 2026
4 of 5 checks passed
@MightyPrytanis MightyPrytanis deleted the copilot/sub-pr-238 branch January 14, 2026 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants