feat: add loader to redirect to admin dashboard
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
import { redirect } from 'react-router'
|
||||||
|
|
||||||
|
export async function loader() {
|
||||||
|
return redirect('/admin/dashboard')
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user