Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Oct 30, 2024

This is the correct way to fix this
https://github.com/pacocoursey/next-themes?tab=readme-ov-file#with-app

suppressHydrationWarning property only applies one level deep, so it won't block hydration warnings on other child elements of <html>


PR-Codex overview

This PR focuses on adding the suppressHydrationWarning attribute to the <html> tag in multiple layout files to prevent hydration warnings in React applications.

Detailed summary

  • Added suppressHydrationWarning to <html lang="en"> in:
    • apps/portal/src/app/layout.tsx
    • apps/dashboard/src/app/layout.tsx
    • apps/playground-web/src/app/layout.tsx
    • apps/wallet-ui/src/app/layout.tsx
    • apps/dashboard/src/app/global-error.tsx

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Oct 30, 2024

⚠️ No Changeset found

Latest commit: 2a817eb

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 30, 2024

Your org has enabled the Graphite merge queue for merging into main

Add the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix.

You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link.

@vercel
Copy link

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 4:39pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 4:39pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 4:39pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 30, 2024 4:39pm

@github-actions github-actions bot added Dashboard Involves changes to the Dashboard. Playground Changes involving the Playground codebase. Portal Involves changes to the Portal (docs) codebase. labels Oct 30, 2024
Copy link
Member Author

MananTank commented Oct 30, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @MananTank and the rest of your teammates on Graphite Graphite

@MananTank MananTank marked this pull request as ready for review October 30, 2024 13:11
@codecov
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.29%. Comparing base (686d0c3) to head (3658b3f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5233   +/-   ##
=======================================
  Coverage   45.29%   45.29%           
=======================================
  Files        1068     1068           
  Lines       55380    55380           
  Branches     3975     3975           
=======================================
  Hits        25082    25082           
  Misses      29606    29606           
  Partials      692      692           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 686d0c3
packages 40.30% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 30, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43 KB (0%) 861 ms (0%) 5.8 s (+66.01% 🔺) 6.7 s
thirdweb (cjs) 102.91 KB (0%) 2.1 s (0%) 6.2 s (-0.26% 🔽) 8.3 s
thirdweb (minimal + tree-shaking) 4.84 KB (0%) 97 ms (0%) 179 ms (+22.06% 🔺) 276 ms
thirdweb/chains (tree-shaking) 498 B (0%) 10 ms (0%) 48 ms (-46.6% 🔽) 58 ms
thirdweb/react (minimal + tree-shaking) 17.38 KB (0%) 348 ms (0%) 1.6 s (+112.67% 🔺) 1.9 s

@graphite-app
Copy link
Contributor

graphite-app bot commented Oct 30, 2024

Merge activity

This is the correct way to fix this
https://github.com/pacocoursey/next-themes?tab=readme-ov-file#with-app

` suppressHydrationWarning` property only applies one level deep, so it won't block hydration warnings on other child elements of `<html>`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard. Playground Changes involving the Playground codebase. Portal Involves changes to the Portal (docs) codebase.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants