chore: update Prettier configuration and dependencies; refactor code formatting for consistency (#3926)
This commit is contained in:
@@ -86,9 +86,7 @@ const InnerConnectionDetail = ({ data, onClose }: InnerProps) => {
|
||||
{ label: t("Rule"), value: rule },
|
||||
{
|
||||
label: t("Process"),
|
||||
value: `${metadata.process}${
|
||||
metadata.processPath ? `(${metadata.processPath})` : ""
|
||||
}`,
|
||||
value: `${metadata.process}${metadata.processPath ? `(${metadata.processPath})` : ""}`,
|
||||
},
|
||||
{ label: t("Time"), value: dayjs(data.start).fromNow() },
|
||||
{
|
||||
|
||||
@@ -59,7 +59,9 @@ export const ProfileItem = (props: Props) => {
|
||||
transform,
|
||||
transition,
|
||||
isDragging,
|
||||
} = useSortable({ id: props.id });
|
||||
} = useSortable({
|
||||
id: props.id,
|
||||
});
|
||||
|
||||
const { t } = useTranslation();
|
||||
const [anchorEl, setAnchorEl] = useState<any>(null);
|
||||
|
||||
@@ -30,7 +30,9 @@ export const TestItem = (props: Props) => {
|
||||
transform,
|
||||
transition,
|
||||
isDragging,
|
||||
} = useSortable({ id: props.id });
|
||||
} = useSortable({
|
||||
id: props.id,
|
||||
});
|
||||
|
||||
const { t } = useTranslation();
|
||||
const [anchorEl, setAnchorEl] = useState<any>(null);
|
||||
|
||||
@@ -48,7 +48,10 @@ export function useServiceInstaller() {
|
||||
"error",
|
||||
t(
|
||||
"Failed to check service status, retrying attempt {count}/{total}...",
|
||||
{ count: i + 1, total: 5 },
|
||||
{
|
||||
count: i + 1,
|
||||
total: 5,
|
||||
},
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user