aboutsummaryrefslogtreecommitdiff
path: root/bench/snippets/scanner/remix-route.ts
diff options
context:
space:
mode:
Diffstat (limited to 'bench/snippets/scanner/remix-route.ts')
-rw-r--r--bench/snippets/scanner/remix-route.ts15
1 files changed, 0 insertions, 15 deletions
diff --git a/bench/snippets/scanner/remix-route.ts b/bench/snippets/scanner/remix-route.ts
deleted file mode 100644
index dbacf3a4c..000000000
--- a/bench/snippets/scanner/remix-route.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { useParams } from "remix";
-import type { LoaderFunction, ActionFunction } from "remix";
-
-export const loader: LoaderFunction = async ({ params }) => {
- console.log(params.postId);
-};
-
-export const action: ActionFunction = async ({ params }) => {
- console.log(params.postId);
-};
-
-export default function PostRoute() {
- const params = useParams();
- console.log(params.postId);
-}