feat: Navigate to homepage after successful database reset - Add navigation to '/' after database reset completes - Shows welcome modal and provides fresh start experience - Improves UX flow after clearing library data
This commit is contained in:
parent
966240b0d1
commit
060d339e78
@ -26,6 +26,8 @@ export function Configuration() {
|
||||
duration: 5000,
|
||||
isClosable: true,
|
||||
});
|
||||
// Navigate to homepage to show welcome modal and start fresh
|
||||
navigate('/');
|
||||
} catch (error) {
|
||||
toast({
|
||||
title: "Failed to reset database",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user