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-bands.tsx | 3 ---
 1 file changed, 3 deletions(-)

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

diff --git a/app/routes/api-bands.tsx b/app/routes/api-bands.tsx
index 68efdeb..1bcaae2 100644
--- a/app/routes/api-bands.tsx
+++ b/app/routes/api-bands.tsx
@@ -46,6 +46,3 @@ export async function action({ request }: ActionFunctionArgs) {
   }
 }
 
-export default function () {
-  return null;
-}
-- 
cgit v1.2.3

