From ad7bf60a3ed79b7e1c1d0aba8c4fb5d261b33116 Mon Sep 17 00:00:00 2001
From: yyamashita <yyamashita@mosquit.one>
Date: Thu, 14 May 2026 23:46:41 +0900
Subject: Fix API routes to return JSON as resource routes

Removing default component export makes these resource routes,
so React Router returns the Response directly instead of wrapping in HTML SSR.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
 app/routes/api-artists.tsx | 3 ---
 1 file changed, 3 deletions(-)

(limited to 'app/routes/api-artists.tsx')

diff --git a/app/routes/api-artists.tsx b/app/routes/api-artists.tsx
index ed762bf..6f83bcc 100644
--- a/app/routes/api-artists.tsx
+++ b/app/routes/api-artists.tsx
@@ -42,6 +42,3 @@ export async function action({ request }: ActionFunctionArgs) {
   }
 }
 
-export default function () {
-  return null;
-}
-- 
cgit v1.2.3

