feat: redirect user dynamically based on role instead of /protected after login
All checks were successful
Staging Build / build (push) Successful in 2m14s
All checks were successful
Staging Build / build (push) Successful in 2m14s
This commit is contained in:
@@ -185,7 +185,7 @@ export async function submitOrder(params: {
|
||||
console.error('PDF Generation Error:', pdfError)
|
||||
}
|
||||
|
||||
revalidatePath('/protected')
|
||||
revalidatePath('/my-customers')
|
||||
revalidatePath('/my-orders')
|
||||
return order as Order
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user