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,
|
duration: 5000,
|
||||||
isClosable: true,
|
isClosable: true,
|
||||||
});
|
});
|
||||||
|
// Navigate to homepage to show welcome modal and start fresh
|
||||||
|
navigate('/');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
toast({
|
toast({
|
||||||
title: "Failed to reset database",
|
title: "Failed to reset database",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user