add route
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user