import type { Route } from './+types'

import { Button } from '@repo/ui/components/ui/button'

export function meta({}: Route.MetaArgs) {
  return [
    { title: 'Histórico de pagamentos' },
    { name: 'description', content: 'Welcome to React Router!' }
  ]
}

export function loader({ context }: Route.LoaderArgs) {
  return { message: context.cloudflare.env.VALUE_FROM_CLOUDFLARE }
}

export default function Route({}: Route.ComponentProps) {
  return (
    <>
      <Button>a</Button>
    </>
  )
}
