🐛 Use correct syntax for server-only (#1830)

This commit is contained in:
Luke Vella 2025-07-15 17:41:30 +01:00 committed by GitHub
parent e06e106d3c
commit b4cbb629b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 3 deletions

View file

@ -1,4 +1,5 @@
"server-only";
import "server-only";
import { prisma } from "@rallly/database";
import { unstable_cache } from "next/cache";
import { instanceSettingsTag } from "./constants";

View file

@ -1,4 +1,4 @@
"server-only";
import "server-only";
import { Ratelimit } from "@upstash/ratelimit";
import { kv } from "@vercel/kv";

View file

@ -1,4 +1,5 @@
"server-only";
import "server-only";
import { posthog } from "@rallly/posthog/server";
import { waitUntil } from "@vercel/functions";
import { revalidatePath } from "next/cache";