Skip to content

Commit

Permalink
Fix import sort order
Browse files Browse the repository at this point in the history
  • Loading branch information
lukevella committed Oct 31, 2024
1 parent 7465550 commit 5fc5213
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/web/src/pages/[locale]/auth/disable-notifications.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { prisma } from "@rallly/database";
import { GetServerSideProps } from "next";

import type { DisableNotificationsPayload } from "@/trpc/types";
import { getServerSession } from "@/auth";
import type { DisableNotificationsPayload } from "@/trpc/types";
import { decryptToken } from "@/utils/session";

const Page = () => {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/api/stripe/checkout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { prisma } from "@rallly/database";
import { NextApiRequest, NextApiResponse } from "next";
import { z } from "zod";

import { absoluteUrl } from "@/utils/absolute-url";
import { getServerSession } from "@/auth";
import { absoluteUrl } from "@/utils/absolute-url";

export const config = {
edge: true,
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/api/stripe/portal.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { prisma } from "@rallly/database";
import { NextApiRequest, NextApiResponse } from "next";
import { z } from "zod";

import { absoluteUrl } from "@/utils/absolute-url";
import { getServerSession } from "@/auth";
import { absoluteUrl } from "@/utils/absolute-url";

const inputSchema = z.object({
session_id: z.string().optional(),
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/api/trpc/[trpc].ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { TRPCError } from "@trpc/server";
import { createNextApiHandler } from "@trpc/server/adapters/next";

import { posthogApiHandler } from "@/app/posthog";
import { AppRouter, appRouter } from "@/trpc/routers";
import { getServerSession } from "@/auth";
import { AppRouter, appRouter } from "@/trpc/routers";
import { getEmailClient } from "@/utils/emails";
import { composeApiHandlers } from "@/utils/next";

Expand Down

0 comments on commit 5fc5213

Please sign in to comment.