diff --git a/frontend/src/app/stories/import/bulk/page.tsx b/frontend/src/app/stories/import/bulk/page.tsx index 911ff21..ff1ed4d 100644 --- a/frontend/src/app/stories/import/bulk/page.tsx +++ b/frontend/src/app/stories/import/bulk/page.tsx @@ -382,7 +382,7 @@ export default function BulkImportPage() { View Stories diff --git a/frontend/src/app/stories/import/epub/page.tsx b/frontend/src/app/stories/import/epub/page.tsx index 9c6cc5f..1f864b2 100644 --- a/frontend/src/app/stories/import/epub/page.tsx +++ b/frontend/src/app/stories/import/epub/page.tsx @@ -161,11 +161,11 @@ export default function EPUBImportPage() {
- Back to Stories + Back to Library

EPUB Import Successful @@ -236,11 +236,11 @@ export default function EPUBImportPage() {
- Back to Stories + Back to Library

Import EPUB diff --git a/frontend/src/app/stories/page.tsx b/frontend/src/app/stories/page.tsx new file mode 100644 index 0000000..8212bec --- /dev/null +++ b/frontend/src/app/stories/page.tsx @@ -0,0 +1,23 @@ +'use client'; + +import { useEffect } from 'react'; +import { useRouter } from 'next/navigation'; +import LoadingSpinner from '../../components/ui/LoadingSpinner'; + +export default function StoriesRedirectPage() { + const router = useRouter(); + + useEffect(() => { + // Redirect to library page + router.replace('/library'); + }, [router]); + + return ( +
+
+ +

Redirecting to Library...

+
+
+ ); +} \ No newline at end of file