Introduce prettier
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
import { useTranslations } from "next-intl";
|
||||
import AccountPage from "./AccountPage";
|
||||
import { useTranslations } from 'next-intl';
|
||||
import AccountPage from './AccountPage';
|
||||
export default function Page(params: { locale: string }) {
|
||||
const t = useTranslations("Auth");
|
||||
const t = useTranslations('Auth');
|
||||
const messages = {
|
||||
yourProjects: t("your_projects"),
|
||||
yourProjects: t('your_projects'),
|
||||
};
|
||||
|
||||
return <AccountPage messages={messages} locale={params.locale} />;
|
||||
|
||||
Reference in New Issue
Block a user