Skip to content

fix: incorrect React type import #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mdqst
Copy link

@mdqst mdqst commented Apr 9, 2025

I’ve fixed the issue with the React type import. Previously, it was imported as import type React from "react";, which is incorrect since React.ReactNode is not a default export but rather a type within the React namespace.

Now, it’s correctly imported using the import * as React from "react"; approach. This should resolve the problem and ensure proper type handling.

Copy link

vercel bot commented Apr 9, 2025

@mdqst is attempting to deploy a commit to the Bitte Team on Vercel.

A member of the Team first needs to authorize it.

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.

1 participant