From 689667447660fdd52da52e61aa4843e2e49005c1 Mon Sep 17 00:00:00 2001 From: Lucian Petri Date: Tue, 27 Dec 2022 14:14:29 +0200 Subject: [PATCH] adding new Tasks --- website/src/components/TaskSelection/TaskOptions.tsx | 2 +- website/src/components/TaskSelection/TaskSelection.tsx | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/website/src/components/TaskSelection/TaskOptions.tsx b/website/src/components/TaskSelection/TaskOptions.tsx index aba68f6d..fe24b393 100644 --- a/website/src/components/TaskSelection/TaskOptions.tsx +++ b/website/src/components/TaskSelection/TaskOptions.tsx @@ -3,7 +3,7 @@ import React from "react"; export type TaskOptionsProps = { title: string; - children: JSX.Element; + children: JSX.Element | JSX.Element[]; }; export const TaskOptions = (props: TaskOptionsProps) => { diff --git a/website/src/components/TaskSelection/TaskSelection.tsx b/website/src/components/TaskSelection/TaskSelection.tsx index edc3e807..81c067e8 100644 --- a/website/src/components/TaskSelection/TaskSelection.tsx +++ b/website/src/components/TaskSelection/TaskSelection.tsx @@ -13,9 +13,16 @@ export const TaskSelection = () => { title="Summarize stories" link="/summarize/story" /> + + - + );