Explorar el Código

biome autofix

Futa Arai hace 6 meses
padre
commit
d3b49da5bc
Se han modificado 1 ficheros con 6 adiciones y 7 borrados
  1. 6 7
      apps/app/src/pages/login/error/[message].page.tsx

+ 6 - 7
apps/app/src/pages/login/error/[message].page.tsx

@@ -1,13 +1,12 @@
 import React from 'react';
 import React from 'react';
-
 import type {
 import type {
   GetServerSideProps,
   GetServerSideProps,
   GetServerSidePropsContext,
   GetServerSidePropsContext,
   NextPage,
   NextPage,
 } from 'next';
 } from 'next';
+import { useRouter } from 'next/router';
 import { useTranslation } from 'next-i18next';
 import { useTranslation } from 'next-i18next';
 import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
 import { serverSideTranslations } from 'next-i18next/serverSideTranslations';
-import { useRouter } from 'next/router';
 
 
 import { NoLoginLayout } from '~/components/Layout/NoLoginLayout';
 import { NoLoginLayout } from '~/components/Layout/NoLoginLayout';
 import type { CommonProps } from '~/pages/utils/commons';
 import type { CommonProps } from '~/pages/utils/commons';
@@ -107,9 +106,9 @@ const LoginPage: NextPage<CommonProps> = () => {
  * @param namespacesRequired
  * @param namespacesRequired
  */
  */
 async function injectNextI18NextConfigurations(
 async function injectNextI18NextConfigurations(
-    context: GetServerSidePropsContext,
-    props: Props,
-    namespacesRequired?: string[] | undefined,
+  context: GetServerSidePropsContext,
+  props: Props,
+  namespacesRequired?: string[] | undefined,
 ): Promise<void> {
 ): Promise<void> {
   const nextI18NextConfig = await getNextI18NextConfig(
   const nextI18NextConfig = await getNextI18NextConfig(
     serverSideTranslations,
     serverSideTranslations,
@@ -119,8 +118,8 @@ async function injectNextI18NextConfigurations(
   props._nextI18Next = nextI18NextConfig._nextI18Next;
   props._nextI18Next = nextI18NextConfig._nextI18Next;
 }
 }
 
 
-export const getServerSideProps: GetServerSideProps = async(
-    context: GetServerSidePropsContext,
+export const getServerSideProps: GetServerSideProps = async (
+  context: GetServerSidePropsContext,
 ) => {
 ) => {
   const result = await getServerSideCommonProps(context);
   const result = await getServerSideCommonProps(context);