From 882f7c38c5cb071c0ec49c344be6897e3898f8e8 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 21 Oct 2023 16:11:52 -0500 Subject: [PATCH] Fix `rows` prop in Textarea, use Textarea in SiteErrorBoundary --- src/components/site-error-boundary.tsx | 8 ++++---- src/components/ui/textarea/textarea.tsx | 5 +++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/site-error-boundary.tsx b/src/components/site-error-boundary.tsx index 698cd6ea0..85ed50cac 100644 --- a/src/components/site-error-boundary.tsx +++ b/src/components/site-error-boundary.tsx @@ -3,7 +3,7 @@ import { ErrorBoundary } from 'react-error-boundary'; import { FormattedMessage } from 'react-intl'; import { NODE_ENV } from 'soapbox/build-config'; -import { HStack, Text, Stack } from 'soapbox/components/ui'; +import { HStack, Text, Stack, Textarea } from 'soapbox/components/ui'; import { useSoapboxConfig } from 'soapbox/hooks'; import { captureSentryException } from 'soapbox/sentry'; import KVStore from 'soapbox/storage/kv-store'; @@ -121,12 +121,12 @@ const SiteErrorBoundary: React.FC = ({ children }) => { ) : ( <> {errorText && ( -