chore: Convert <Text /> component to span by default
This commit is contained in:
@@ -69,7 +69,7 @@ function AddGroupsToCollection(props: Props) {
|
||||
return (
|
||||
<Flex column>
|
||||
{can.createGroup ? (
|
||||
<Text type="secondary">
|
||||
<Text as="p" type="secondary">
|
||||
{t("Can’t find the group you’re looking for?")}{" "}
|
||||
<ButtonLink onClick={handleNewGroupModalOpen}>
|
||||
{t("Create a group")}
|
||||
|
||||
@@ -69,7 +69,7 @@ function AddPeopleToCollection({ collection }: Props) {
|
||||
|
||||
return (
|
||||
<Flex column>
|
||||
<Text type="secondary">
|
||||
<Text as="p" type="secondary">
|
||||
{t("Need to add someone who’s not on the team yet?")}{" "}
|
||||
{can.inviteUser ? (
|
||||
<ButtonLink onClick={setInviteModalOpen}>
|
||||
|
||||
Reference in New Issue
Block a user