diff --git a/zettelkasten-front/src/pages/DashboardPage.tsx b/zettelkasten-front/src/pages/DashboardPage.tsx index cf2e1ba..766cc39 100644 --- a/zettelkasten-front/src/pages/DashboardPage.tsx +++ b/zettelkasten-front/src/pages/DashboardPage.tsx @@ -20,7 +20,7 @@ export function DashboardPage() { const { partialCards } = usePartialCardContext(); const [refresh, setRefresh] = React.useState(false); const { tasks, setRefreshTasks } = useTaskContext(); - const { message, setMessage } = React.useState(""); + const [ message, setMessage ] = React.useState(""); const { currentUser } = useAuth(); const { showCreateTaskWindow, setShowCreateTaskWindow } =