Files
snort/src/pages/EventPage.js
2022-12-29 22:23:41 +00:00

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}/>;
}