Skip to content

Commit

Permalink
lint & format
Browse files Browse the repository at this point in the history
  • Loading branch information
noxify committed Jan 8, 2024
1 parent 1789a7e commit 049073b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions apps/nextjs/src/app/_components/posts.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"use client";

import { api } from "@/trpc/react";

import type { RouterOutputs } from "@acme/api";
import { cn } from "@acme/ui";
import { Button } from "@acme/ui/button";
Expand All @@ -17,6 +15,8 @@ import { Input } from "@acme/ui/input";
import { toast } from "@acme/ui/toast";
import { CreatePostSchema } from "@acme/validators";

import { api } from "@/trpc/react";

export function CreatePostForm() {
const form = useForm({
schema: CreatePostSchema,
Expand Down
3 changes: 2 additions & 1 deletion apps/nextjs/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import type { Metadata } from "next";
import { cache } from "react";
import { headers } from "next/headers";
import { TRPCReactProvider } from "@/trpc/react";
import { GeistMono } from "geist/font/mono";
import { GeistSans } from "geist/font/sans";

import { cn } from "@acme/ui";
import { ThemeProvider, ThemeToggle } from "@acme/ui/theme";
import { Toaster } from "@acme/ui/toast";

import { TRPCReactProvider } from "@/trpc/react";

import "@/app/globals.css";

export const metadata: Metadata = {
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Suspense } from "react";
import { api } from "@/trpc/server";

import { api } from "@/trpc/server";
import { AuthShowcase } from "./_components/auth-showcase";
import {
CreatePostForm,
Expand Down
1 change: 0 additions & 1 deletion packages/auth/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const env = createEnv({
? z.string().min(1)
: z.string().min(1).optional(),
AUTH_URL: z.string().url(),

},
client: {},
runtimeEnv: {
Expand Down

0 comments on commit 049073b

Please sign in to comment.