quick fix

This commit is contained in:
2025-08-06 12:27:27 -07:00
parent a7f1bbbc61
commit 023ee333fb
+1 -1
View File
@@ -31,7 +31,7 @@ export default function Dashboard() {
// Prevent navigation while in Edit mode without saving or cancelling
const handleViewChange = (nextView) => {
if (view === "widget" && isEditable) {
if (view === "mydashboard" && isEditable) {
const confirmed = window.confirm(
"You have unsaved changes. Discard them and continue?"
);