bolt.diy/app/routes/repository.$id.tsx

9 lines
254 B
TypeScript

import { json, type LoaderFunctionArgs } from '~/lib/remix-types';
import { default as IndexRoute } from './_index';
export async function loader(args: LoaderFunctionArgs) {
return json({ repositoryId: args.params.id });
}
export default IndexRoute;