chore: Convert <Text /> component to span by default

This commit is contained in:
Tom Moor
2024-01-30 22:49:31 -05:00
parent a960d8cee5
commit 5ce8827a8c
56 changed files with 93 additions and 97 deletions

View File

@@ -75,7 +75,7 @@ function AddPeopleToGroup(props: Props) {
return (
<Flex column>
<Text type="secondary">
<Text as="p" type="secondary">
{t(
"Add members below to give them access to the group. Need to add someone whos not yet a member?"
)}{" "}

View File

@@ -51,7 +51,7 @@ function GroupMembers({ group }: Props) {
<Flex column>
{can.update ? (
<>
<Text type="secondary">
<Text as="p" type="secondary">
<Trans
defaults="Add and remove members to the <em>{{groupName}}</em> group. Members of the group will have access to any collections this group has been added to."
values={{
@@ -74,7 +74,7 @@ function GroupMembers({ group }: Props) {
</span>
</>
) : (
<Text type="secondary">
<Text as="p" type="secondary">
<Trans
defaults="Listing members of the <em>{{groupName}}</em> group."
values={{