lint find and replace

This commit is contained in:
Tom Moor
2022-02-17 21:35:12 -08:00
parent d5763233ca
commit e109d5629f
2 changed files with 4 additions and 4 deletions

View File

@@ -32,7 +32,7 @@ function CommandBarItem(
return (
<Item active={active} ref={ref}>
<Text type="secondary" align="center" gap={8}>
<Content align="center" gap={8}>
<Icon>
{action.icon ? (
// @ts-expect-error no icon on ActionImpl
@@ -53,7 +53,7 @@ function CommandBarItem(
))}
{action.name}
{action.children?.length ? "…" : ""}
</Text>
</Content>
{action.shortcut?.length ? (
<div
style={{
@@ -84,7 +84,7 @@ const Ancestor = styled.span`
color: ${(props) => props.theme.textSecondary};
`;
const Text = styled(Flex)`
const Content = styled(Flex)`
overflow: hidden;
text-overflow: ellipsis;
flex-shrink: 1;

View File

@@ -83,7 +83,7 @@ const Modal = ({
</Content>
<Back onClick={onRequestClose}>
<BackIcon size={32} color="currentColor" />
<Text type="secondary">{t("Back")}</Text>
<Text>{t("Back")}</Text>
</Back>
<Close onClick={onRequestClose}>
<CloseIcon size={32} color="currentColor" />