diff options
Diffstat (limited to 'packages/cli/src/ui/components/shared')
| -rw-r--r-- | packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx | 2 | ||||
| -rw-r--r-- | packages/cli/src/ui/components/shared/MaxSizedBox.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx b/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx index c392159b..50951b4f 100644 --- a/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx +++ b/packages/cli/src/ui/components/shared/MaxSizedBox.test.tsx @@ -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); diff --git a/packages/cli/src/ui/components/shared/MaxSizedBox.tsx b/packages/cli/src/ui/components/shared/MaxSizedBox.tsx index c803b680..eb5ef6b4 100644 --- a/packages/cli/src/ui/components/shared/MaxSizedBox.tsx +++ b/packages/cli/src/ui/components/shared/MaxSizedBox.tsx @@ -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.', |
