11 lines
320 B
JavaScript
11 lines
320 B
JavaScript
import { useParams } from "react-router-dom";
|
|
import Thread from "../element/Thread";
|
|
import useThreadFeed from "../feed/ThreadFeed";
|
|
|
|
export default function EventPage() {
|
|
const params = useParams();
|
|
const id = params.id;
|
|
|
|
const { notes } = useThreadFeed(id);
|
|
return <Thread notes={notes} this={id}/>;
|
|
} |