refactor(lib): organize modules by feature
This commit is contained in:
+4
-4
@@ -1,12 +1,12 @@
|
||||
import { getServerSession } from "next-auth";
|
||||
import { authOptions } from "@/lib/auth-options";
|
||||
import { authOptions } from "@/lib/auth/auth-options";
|
||||
import { FormLayoutClient, LoginButton } from "./client";
|
||||
import { Metadata } from "next";
|
||||
import { ThemeToggle } from "@/components/theme-toggle";
|
||||
import { getSessionDiscordId } from "@/lib/auth";
|
||||
import { getDiscordMemberProfile } from "@/lib/discord";
|
||||
import { getSessionDiscordId } from "@/lib/auth/auth";
|
||||
import { getDiscordMemberProfile } from "@/lib/discord/discord";
|
||||
import Link from 'next/link';
|
||||
import { getAdminDiscordIds } from "@/lib/auth";
|
||||
import { getAdminDiscordIds } from "@/lib/auth/auth";
|
||||
|
||||
const siteUrl = process.env.BASE_URL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user