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
+6 -5
View File
@@ -1,11 +1,11 @@
import { FC, useEffect } from "react";
import { useTranslation } from "react-i18next";
import useStreaming from "@/hooks/useStreaming";
// import clsx from "clsx";
import Button from "./styled/Button";
interface Props {
}
interface Props {}
const InactiveScreen: FC<Props> = () => {
const { t } = useTranslation();
@@ -27,10 +27,11 @@ const InactiveScreen: FC<Props> = () => {
<div className="w-screen h-screen dark:bg-gray-700 flex-center text-4xl font-bold">
<div className="flex flex-col items-center text-center gap-2">
<h1 className="text-lg md:text-4xl dark:text-white font-bold">{t("inactive.title")}</h1>
<p className="text-gray-400 text-xs md:text-sm font-semibold" >{t("inactive.desc")}</p>
<Button className="mt-4 uppercase" onClick={handleReload}>{t("action.reload")}</Button>
<p className="text-gray-400 text-xs md:text-sm font-semibold">{t("inactive.desc")}</p>
<Button className="mt-4 uppercase" onClick={handleReload}>
{t("action.reload")}
</Button>
</div>
</div>
);
};