export function loader ( { params : { date } } ) { return new Response ( 'a,b,c' , { status : 200 , headers : { "Content-Type" : "text/csv" , "Content-Disposition" : `attachment;filename=Transaction Report ${ date }.csv` , } } ) ; }