HelpText -> Text
This commit is contained in:
@@ -10,10 +10,10 @@ import Avatar from "~/components/Avatar";
|
||||
import Badge from "~/components/Badge";
|
||||
import Button from "~/components/Button";
|
||||
import Flex from "~/components/Flex";
|
||||
import HelpText from "~/components/HelpText";
|
||||
import Modal from "~/components/Modal";
|
||||
import PaginatedDocumentList from "~/components/PaginatedDocumentList";
|
||||
import Subheading from "~/components/Subheading";
|
||||
import Text from "~/components/Text";
|
||||
import useCurrentUser from "~/hooks/useCurrentUser";
|
||||
import useStores from "~/hooks/useStores";
|
||||
import { settingsPath } from "~/utils/routeHelpers";
|
||||
@@ -79,11 +79,11 @@ function UserProfile(props: Props) {
|
||||
}}
|
||||
heading={<Subheading>{t("Recently updated")}</Subheading>}
|
||||
empty={
|
||||
<HelpText>
|
||||
<Text type="secondary">
|
||||
{t("{{ userName }} hasn’t updated any documents yet.", {
|
||||
userName: user.name,
|
||||
})}
|
||||
</HelpText>
|
||||
</Text>
|
||||
}
|
||||
showCollection
|
||||
/>
|
||||
@@ -103,7 +103,7 @@ const StyledBadge = styled(Badge)`
|
||||
top: -2px;
|
||||
`;
|
||||
|
||||
const Meta = styled(HelpText)`
|
||||
const Meta = styled(Text)`
|
||||
margin-top: -12px;
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user