From 9ca51b91e5a9c3c3b1d0104c569a2530c58a0eee Mon Sep 17 00:00:00 2001
From: yyamashita <yyamashita@mosquit.one>
Date: Fri, 15 May 2026 00:18:24 +0900
Subject: Fix build: add default export to parametric API resource routes

React Router requires a default export for parametric routes (:uuid) to
correctly split server/client code during the production vite build.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---
 app/routes/api-band-detail.tsx | 2 ++
 1 file changed, 2 insertions(+)

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

diff --git a/app/routes/api-band-detail.tsx b/app/routes/api-band-detail.tsx
index aa3b5bb..0cad372 100644
--- a/app/routes/api-band-detail.tsx
+++ b/app/routes/api-band-detail.tsx
@@ -67,3 +67,5 @@ export async function action({ request, params }: ActionFunctionArgs) {
 
   return Response.json(getBandById(band.id));
 }
+
+export default function () { return null; }
-- 
cgit v1.2.3

