refactor: modify upload section

This commit is contained in:
2026-03-19 12:32:55 +05:30
parent 37d7a664e0
commit 8510bd9f32
11 changed files with 531 additions and 436 deletions

View File

@@ -29,7 +29,7 @@ export default function ResultsPage() {
const videoData = sessionService.loadVideoData();
if (!sessionService.isSessionValid(storedSession) || !videoData) {
router.replace(ROUTES.NEW_ANALYSIS);
router.replace(ROUTES.UPLOAD);
return;
}
@@ -52,7 +52,7 @@ export default function ResultsPage() {
}
}
sessionService.clearSession();
router.push(ROUTES.NEW_ANALYSIS);
router.push(ROUTES.UPLOAD);
};
const getTitle = () => {