fix eslint warnings
This commit is contained in:
@ -5,7 +5,7 @@ import { parseId } from "Util";
|
||||
|
||||
export default function EventPage() {
|
||||
const params = useParams();
|
||||
const id = parseId(params.id!);
|
||||
const id = parseId(params.id ?? "");
|
||||
const thread = useThreadFeed(id);
|
||||
|
||||
return <Thread notes={thread.notes} this={id} />;
|
||||
|
Reference in New Issue
Block a user