Skip to content

Commit

Permalink
Remove default as="p" from <Text /> component
Browse files Browse the repository at this point in the history
  • Loading branch information
jvorcak committed Oct 30, 2023
1 parent 9611b0c commit 0a6af9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions frontend/src/components/pages/connect/CreateConnector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ function Review({
<AlertDescription>
<Box>
<Text as="h3">Validation attempt failed</Text>
<Text as="p">{String(validationFailure)}</Text>
<Text>{String(validationFailure)}</Text>
</Box>
</AlertDescription>
</Alert>
Expand All @@ -563,7 +563,7 @@ function Review({
<AlertDescription>
<Box>
<Text as="h3">Creation attempt failed</Text>
<Text as="p">{String(creationFailure)}</Text>
<Text>{String(creationFailure)}</Text>
</Box>
</AlertDescription>
</Alert>
Expand All @@ -579,7 +579,7 @@ function Review({
<AlertDescription>
<Box>
<Text as="h3">An error occurred</Text>
<Text as="p">{String(genericFailure)}</Text>
<Text>{String(genericFailure)}</Text>
</Box>
</AlertDescription>
</Alert>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/pages/connect/helper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ export const ConfirmModal = observer(<T,>(props: ConfirmModalProps<T>) => {
<AlertDescription>
<Box>
<Text as="h3">{err.title}</Text>
<Text as="p">{err.content}</Text>
<Text>{err.content}</Text>
</Box>
</AlertDescription>
</Alert>
Expand Down

0 comments on commit 0a6af9c

Please sign in to comment.