diff --git a/ui/app/alert-config/layout.tsx b/ui/app/alert-config/layout.tsx index f3af4631fd..69a53b44ea 100644 --- a/ui/app/alert-config/layout.tsx +++ b/ui/app/alert-config/layout.tsx @@ -3,9 +3,5 @@ import { Layout } from '@/lib/Layout'; import { PropsWithChildren } from 'react'; export default function PageLayout({ children }: PropsWithChildren) { - return ( - }> - {children} - - ); + return }>{children}; } diff --git a/ui/app/api/auth/[...nextauth]/route.ts b/ui/app/api/auth/[...nextauth]/route.ts index 0382c1fb82..a19cf278ac 100644 --- a/ui/app/api/auth/[...nextauth]/route.ts +++ b/ui/app/api/auth/[...nextauth]/route.ts @@ -1,7 +1,5 @@ -import NextAuth from 'next-auth'; import { authOptions } from '@/app/auth/options'; - +import NextAuth from 'next-auth'; const handler = NextAuth(authOptions); - export { handler as GET, handler as POST }; diff --git a/ui/app/config/config.ts b/ui/app/config/config.ts index 867a00d3d8..4e613fa084 100644 --- a/ui/app/config/config.ts +++ b/ui/app/config/config.ts @@ -3,5 +3,5 @@ export var Configuration = { PEERDB_PASSWORD: process.env.PEERDB_PASSWORD, // Set this in production to a static value NEXTAUTH_SECRET: process.env.NEXTAUTH_SECRET, - } -} + }, +}; diff --git a/ui/app/mirrors/layout.tsx b/ui/app/mirrors/layout.tsx index f3af4631fd..69a53b44ea 100644 --- a/ui/app/mirrors/layout.tsx +++ b/ui/app/mirrors/layout.tsx @@ -3,9 +3,5 @@ import { Layout } from '@/lib/Layout'; import { PropsWithChildren } from 'react'; export default function PageLayout({ children }: PropsWithChildren) { - return ( - }> - {children} - - ); + return }>{children}; } diff --git a/ui/app/peers/layout.tsx b/ui/app/peers/layout.tsx index f3af4631fd..69a53b44ea 100644 --- a/ui/app/peers/layout.tsx +++ b/ui/app/peers/layout.tsx @@ -3,9 +3,5 @@ import { Layout } from '@/lib/Layout'; import { PropsWithChildren } from 'react'; export default function PageLayout({ children }: PropsWithChildren) { - return ( - }> - {children} - - ); + return }>{children}; } diff --git a/ui/components/Logout.tsx b/ui/components/Logout.tsx index 0cb508c649..8f33e6f8d9 100644 --- a/ui/components/Logout.tsx +++ b/ui/components/Logout.tsx @@ -1,7 +1,7 @@ 'use client'; import { Button } from '@/lib/Button'; -import { useRouter } from 'next/navigation'; import { useSession } from 'next-auth/react'; +import { useRouter } from 'next/navigation'; export default function Logout() { const { data: session } = useSession(); @@ -9,7 +9,10 @@ export default function Logout() { if (session) { return (