diff --git a/twenty-client/src/js/Context.ts b/twenty-client/src/js/Context.ts index ed468c3..bd2aeca 100644 --- a/twenty-client/src/js/Context.ts +++ b/twenty-client/src/js/Context.ts @@ -1,3 +1,3 @@ import { createContext } from "react"; type TContext = Record<"params" | "cookies", Record>; -export const AppContext = createContext({}); +export const AppContext = createContext({params: {}, cookies: {}}); diff --git a/twenty-client/src/js/components/Task.tsx b/twenty-client/src/js/components/Task.tsx index 42b232f..7cbbcb5 100644 --- a/twenty-client/src/js/components/Task.tsx +++ b/twenty-client/src/js/components/Task.tsx @@ -73,7 +73,6 @@ export function Task() {
-

{task ? "Edit task" : "New task"}