add route

This commit is contained in:
2025-11-19 22:12:18 -03:00
parent f99350f507
commit 5b1ba9e9c7
25 changed files with 162 additions and 334 deletions

View File

@@ -1,6 +1,4 @@
import type { Route } from './+types'
import { useLoaderData } from 'react-router'
import type { Route } from './+types/route'
import { type Webhook } from './columns'
@@ -12,9 +10,7 @@ export async function loader(): Promise<Webhook[]> {
return []
}
export default function Page() {
const data = useLoaderData() as Webhook[]
export default function Route() {
return (
<>
<div className="space-y-0.5 mb-8">