Skip to content

Commit

Permalink
Enforce server only code
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorsharp committed Apr 15, 2024
1 parent 5dca852 commit b949c8f
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-hook-form": "^7.51.3",
"server-only": "^0.0.1",
"superjson": "^2.2.1",
"zod": "^3.22.4"
},
Expand Down
1 change: 1 addition & 0 deletions src/services/feedService.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use server";

import "server-only";
import { XMLBuilder, XMLParser } from "fast-xml-parser";
import feedSchema from "~/schemas/feed";
import type { X2jOptions, XmlBuilderOptions } from "fast-xml-parser";
Expand Down

0 comments on commit b949c8f

Please sign in to comment.