feat: Implement video version management API, enable comment tag editing, and enhance video duration display to include hours.

This commit is contained in:
Yusuf İpek
2026-02-10 14:48:15 +03:00
parent d42db4484b
commit ca65cf8f58
7 changed files with 522 additions and 175 deletions
+2
View File
@@ -164,6 +164,8 @@ export function VideoCard({ video, projectId }: VideoCardProps) {
});
if (res.ok) {
setShowDeleteDialog(false);
// Give revalidatePath time to invalidate cache before refreshing
await new Promise((r) => setTimeout(r, 300));
router.refresh();
}
} catch (err) {