build: format the code with prettier

This commit is contained in:
Tristan Yang
2023-05-19 16:31:28 +08:00
parent 7afc132bbb
commit 5bd0183651
259 changed files with 7627 additions and 5607 deletions
+2 -2
View File
@@ -1,8 +1,9 @@
import { FC, ReactElement } from "react";
import { useTranslation } from "react-i18next";
import Tippy from "@tippyjs/react";
import useUserOperation from "@/hooks/useUserOperation";
import ContextMenu, { Item } from "../ContextMenu";
import { useTranslation } from "react-i18next";
interface Props {
enable?: boolean;
@@ -75,7 +76,6 @@ const UserContextMenu: FC<Props> = ({ enable = false, uid, cid, visible, hide, c
title: t("remove"),
handler: removeUser
}
].filter(Boolean) as Item[]
}
/>