Files

9 lines
140 B
TypeScript

'use server'
import { revalidatePath } from 'next/cache'
export async function action() {
revalidatePath('/', 'layout')
return true
}