Skip to content
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

Text component is breaking the app #519

Closed
pavlelekic opened this issue May 31, 2024 · 1 comment
Closed

Text component is breaking the app #519

pavlelekic opened this issue May 31, 2024 · 1 comment
Labels
not an issue This doesn't seem right

Comments

@pavlelekic
Copy link

pavlelekic commented May 31, 2024

I created a simple nextjs14 app, installed Radix Themes, created a simple page:

export default function Home() {
  return (
    <Flex direction="column" gap="3">
      <Text size="1">The quick brown fox jumps over the lazy dog.</Text>
    </Flex>
  );
}

I immediately got an error:
Screenshot 2024-05-31 at 7 09 03 AM

As soon as I remove the <Text> component the app renders fine. Has anyone encountered an error like this?

@vladmoroz
Copy link
Contributor

This error is not related to the Text component or Radix Themes, sounds like you might be missing a root layout with a html and body element.

@vladmoroz vladmoroz added the not an issue This doesn't seem right label May 31, 2024
@vladmoroz vladmoroz closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not an issue This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants