From 2ebc0d498e954a1db344c6825ea4e685c8b2136d Mon Sep 17 00:00:00 2001 From: Nick Savage Date: Wed, 4 Dec 2024 16:47:10 -0500 Subject: [PATCH] frontend; typing --- zettelkasten-front/src/pages/DashboardPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } =