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

View File

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