diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index 55350f0..cf9d61c 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -9,7 +9,7 @@ const ProfilePage: FunctionComponent = () => {
import("./profile_settings"))} /> -

Tasks

} /> + import("./profile_tasks"))} /> import("./calendar"))} /> { + const getDate = useMemo(() => { + const date = new Date(); + const formatter = new Intl.DateTimeFormat("ru-RU", { month: "long", day: "numeric" }); + return formatter.format(date); + }, []); + return ( +
+
Сегодня: {getDate}
+
+ {example_tasks.map((task, index) => ( + + ))} +
+
+ ); +}; + +export default ProfileTasks;