diff --git a/src/views/components/InputMessage/Topic.tsx b/src/views/components/InputMessage/Topic.tsx index 76668d5..1d9de20 100644 --- a/src/views/components/InputMessage/Topic.tsx +++ b/src/views/components/InputMessage/Topic.tsx @@ -105,76 +105,72 @@ export default function Topic({ styleName }) { }, }} > - {topicList.map((item: any, index) => ( - - - showTopic(item?.root_prompt)} - > - + + {topicList.map((item: any, index) => ( + + + showTopic(item?.root_prompt)} + > + + + {item?.root_prompt.title} + + + {dayjs(item?.latest_time * 1000).format("MM-DD HH:mm:ss")} + + + - {item?.root_prompt.title} + {item?.root_prompt.responses?.[0]} - + + { + deleteTopic(item?.root_prompt.hash); }} > - {dayjs(item?.latest_time * 1000).format("MM-DD HH:mm:ss")} - + + - - - {item?.root_prompt.responses?.[0]} - - - - { - deleteTopic(item?.root_prompt.hash); - }} - > - - - - {index !== topicList.length - 1 && ( - - )} - - ))} - + {index !== topicList.length - 1 && ( + + )} + + ))} + + ); }