Thread progess

This commit is contained in:
2022-12-20 12:08:41 +00:00
parent e617d6d528
commit c454f5c7aa
6 changed files with 98 additions and 12 deletions

View File

@ -1,6 +1,7 @@
import { useEffect } from "react";
import { useParams } from "react-router-dom";
import Note from "../element/Note";
import Thread from "../element/Thread";
import useThreadFeed from "./feed/ThreadFeed";
export default function EventPage() {
@ -11,9 +12,7 @@ export default function EventPage() {
if(notes) {
return (
<>
{notes?.map(n => <Note key={n.id} data={n}/>)}
</>
<Thread notes={notes}/>
)
}
return (