feat(housekeeping): cut over administration to ase
This commit is contained in:
@@ -32,7 +32,7 @@ interface RunOptions {
|
||||
* run(() => updateNews({ id, ...data }), { successMessage: 'Saved!' })
|
||||
*
|
||||
* // Delete with redirect
|
||||
* run(() => deleteNews(id), { redirectTo: '/admin/news' })
|
||||
* run(() => deleteNews(id), { redirectTo: '/ase/content/articles' })
|
||||
*/
|
||||
export function useServerAction(options: UseServerActionOptions = {}) {
|
||||
const [isPending, startTransition] = useTransition();
|
||||
|
||||
Reference in New Issue
Block a user