HelpText -> Text
This commit is contained in:
@@ -10,10 +10,10 @@ import Share from "~/models/Share";
|
||||
import Button from "~/components/Button";
|
||||
import CopyToClipboard from "~/components/CopyToClipboard";
|
||||
import Flex from "~/components/Flex";
|
||||
import HelpText from "~/components/HelpText";
|
||||
import Input from "~/components/Input";
|
||||
import Notice from "~/components/Notice";
|
||||
import Switch from "~/components/Switch";
|
||||
import Text from "~/components/Text";
|
||||
import useKeyDown from "~/hooks/useKeyDown";
|
||||
import useStores from "~/hooks/useStores";
|
||||
import useToasts from "~/hooks/useToasts";
|
||||
@@ -164,7 +164,9 @@ function SharePopover({
|
||||
</SwitchLabel>
|
||||
</SwitchWrapper>
|
||||
) : (
|
||||
<HelpText>{t("Only team members with permission can view")}</HelpText>
|
||||
<Text type="secondary">
|
||||
{t("Only team members with permission can view")}
|
||||
</Text>
|
||||
)}
|
||||
|
||||
{canPublish && share?.published && !document.isDraft && (
|
||||
@@ -231,7 +233,7 @@ const SwitchLabel = styled(Flex)`
|
||||
}
|
||||
`;
|
||||
|
||||
const SwitchText = styled(HelpText)`
|
||||
const SwitchText = styled(Text)`
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user