fix: resolve hydration mismatch in img alt attribute (#2340)#2397
fix: resolve hydration mismatch in img alt attribute (#2340)#2397Sravan1011 wants to merge 1 commit into
Conversation
…#2340) - Add missing alt attribute to octue sponsor image - Fix multi-line alt text on apideck image causing whitespace normalization mismatch - Fix incorrect alt text on sourcemeta image (was 'dottxt logo') - Wrap all raw <img> tags in {isClient && ...} guards to prevent server/client theme-dependent src mismatch, matching the pattern already used by <Image> components
|
Hi @Sravan1011! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: issue reference, kind of change description Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
built with Refined Cloudflare Pages Action⚡ Cloudflare Pages Deployment
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2397 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 30 30
Lines 672 672
Branches 211 211
=========================================
Hits 672 672 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Hi @Sravan1011! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: kind of change description Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
1 similar comment
|
Hi @Sravan1011! Thanks a lot for your contribution! I noticed that the following required information is missing or incomplete: kind of change description Please update the PR description to include this information. You can find placeholders in the PR template for these items. Thanks a lot! |
fixed - Resolves hydration mismatch warnings in React/Next.js
Issue Number:
Closes #2340
Added missing alt='octue' attribute to the octue sponsor image
tags in {isClient && (<>...</>)} guards to prevent server/client theme mismatch, consistent with the existing pattern used by all other
components on the page
Fixed multi-line alt text on the apideck image (collapsed to single line)
Fixed incorrect alt on sourcemeta image (was 'dottxt logo', now 'sourcemeta logo')
Wrapped all 14 raw