chore: rename Dirs
This commit is contained in:
12
src/Pages/EventPage.tsx
Normal file
12
src/Pages/EventPage.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
import { useParams } from "react-router-dom";
|
||||
import Thread from "Element/Thread";
|
||||
import useThreadFeed from "Feed/ThreadFeed";
|
||||
import { parseId } from "Util";
|
||||
|
||||
export default function EventPage() {
|
||||
const params = useParams();
|
||||
const id = parseId(params.id!);
|
||||
const thread = useThreadFeed(id);
|
||||
|
||||
return <Thread notes={thread.notes} this={id} />;
|
||||
}
|
Reference in New Issue
Block a user