fix typos in diverse files (#3284)

Co-authored-by: Scott Densmore <scottdensmore@mac.com>
This commit is contained in:
Didier Durand
2025-07-05 17:23:39 +02:00
committed by GitHub
parent 47dc16d243
commit ab96676e36
13 changed files with 16 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ import { describe, it, expect } from 'vitest';
describe('<MaxSizedBox />', () => {
// Make sure MaxSizedBox logs errors on invalid configurations.
// This is useful for debugging issues with the component.
// It should be set to false in production for perfornance and to avoid
// It should be set to false in production for performance and to avoid
// cluttering the console if there are ignorable issues.
setMaxSizedBoxDebugging(true);

View File

@@ -328,7 +328,7 @@ function visitBoxRow(element: React.ReactNode): Row {
if (!hasSeenWrapped) {
row.noWrapSegments.push(segment);
} else {
// put in in the wrapped segment as the row is already stuck in wrapped mode.
// put in the wrapped segment as the row is already stuck in wrapped mode.
row.segments.push(segment);
debugReportError(
'Text elements without wrapping cannot appear after elements with wrapping in the same row.',