lint find and replace
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|||||||
Reference in New Issue
Block a user