mirror of
https://github.com/lukevella/rallly.git
synced 2025-06-07 21:21:49 +02:00
Fix import sort order
This commit is contained in:
parent
7465550c5d
commit
5fc5213af8
4 changed files with 4 additions and 4 deletions
|
@ -1,8 +1,8 @@
|
||||||
import { prisma } from "@rallly/database";
|
import { prisma } from "@rallly/database";
|
||||||
import { GetServerSideProps } from "next";
|
import { GetServerSideProps } from "next";
|
||||||
|
|
||||||
import type { DisableNotificationsPayload } from "@/trpc/types";
|
|
||||||
import { getServerSession } from "@/auth";
|
import { getServerSession } from "@/auth";
|
||||||
|
import type { DisableNotificationsPayload } from "@/trpc/types";
|
||||||
import { decryptToken } from "@/utils/session";
|
import { decryptToken } from "@/utils/session";
|
||||||
|
|
||||||
const Page = () => {
|
const Page = () => {
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { prisma } from "@rallly/database";
|
||||||
import { NextApiRequest, NextApiResponse } from "next";
|
import { NextApiRequest, NextApiResponse } from "next";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
|
|
||||||
import { absoluteUrl } from "@/utils/absolute-url";
|
|
||||||
import { getServerSession } from "@/auth";
|
import { getServerSession } from "@/auth";
|
||||||
|
import { absoluteUrl } from "@/utils/absolute-url";
|
||||||
|
|
||||||
export const config = {
|
export const config = {
|
||||||
edge: true,
|
edge: true,
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { prisma } from "@rallly/database";
|
||||||
import { NextApiRequest, NextApiResponse } from "next";
|
import { NextApiRequest, NextApiResponse } from "next";
|
||||||
import { z } from "zod";
|
import { z } from "zod";
|
||||||
|
|
||||||
import { absoluteUrl } from "@/utils/absolute-url";
|
|
||||||
import { getServerSession } from "@/auth";
|
import { getServerSession } from "@/auth";
|
||||||
|
import { absoluteUrl } from "@/utils/absolute-url";
|
||||||
|
|
||||||
const inputSchema = z.object({
|
const inputSchema = z.object({
|
||||||
session_id: z.string().optional(),
|
session_id: z.string().optional(),
|
||||||
|
|
|
@ -3,8 +3,8 @@ import { TRPCError } from "@trpc/server";
|
||||||
import { createNextApiHandler } from "@trpc/server/adapters/next";
|
import { createNextApiHandler } from "@trpc/server/adapters/next";
|
||||||
|
|
||||||
import { posthogApiHandler } from "@/app/posthog";
|
import { posthogApiHandler } from "@/app/posthog";
|
||||||
import { AppRouter, appRouter } from "@/trpc/routers";
|
|
||||||
import { getServerSession } from "@/auth";
|
import { getServerSession } from "@/auth";
|
||||||
|
import { AppRouter, appRouter } from "@/trpc/routers";
|
||||||
import { getEmailClient } from "@/utils/emails";
|
import { getEmailClient } from "@/utils/emails";
|
||||||
import { composeApiHandlers } from "@/utils/next";
|
import { composeApiHandlers } from "@/utils/next";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue