* time ago hook

This commit is contained in:
Philipinho
2025-04-09 18:47:39 +01:00
parent 5fd477d074
commit 7fe3c5f177
3 changed files with 21 additions and 2 deletions

View File

@ -209,6 +209,7 @@ export default function PageEditor({
queryClient.setQueryData(["pages", slugId], {
...pageData,
content: newContent,
updatedAt: new Date(),
});
}
}, 3000);