Skip to content

Conversation

aslilac
Copy link
Member

@aslilac aslilac commented Dec 21, 2023

because these drive me nuts, as I'm mentioned before. :^) I've been doing a bunch of these incrementally along side other work, but this is the last of them.

  • FC<{ ... }>FC<MyComponentProps>
  • consolidates on FC over React.FC.

@aslilac aslilac requested review from a team and BrunoQuaresma and removed request for a team December 21, 2023 21:31
@aslilac aslilac changed the title chore: no inline prop type definitions chore: cleanup inline prop type definitions Dec 21, 2023
import { useDashboard } from "components/Dashboard/DashboardProvider";
import { LicenseBannerView } from "./LicenseBannerView";

export const LicenseBanner: React.FC = () => {
export const LicenseBanner: FC = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We even need FC here haha

Copy link
Collaborator

@BrunoQuaresma BrunoQuaresma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If tests are ok, I'm ok ✅

@aslilac aslilac merged commit a24c3b4 into main Jan 2, 2024
@aslilac aslilac deleted the fc branch January 2, 2024 17:39
@github-actions github-actions bot locked and limited conversation to collaborators Jan 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants