First commit
This commit is contained in:
commit
48866cc6ab
20 changed files with 6301 additions and 0 deletions
7
app/action.ts
Normal file
7
app/action.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
'use server'
|
||||
|
||||
import { redirect } from 'next/navigation'
|
||||
|
||||
export async function navigate(data: FormData) {
|
||||
redirect(`/${data.get('id')}`)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue