bolt.diy/app/routes/load-problem.$id.tsx
2025-03-14 07:27:30 -07:00

9 lines
251 B
TypeScript

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