Fix the mechanical lint groups and delete the unused bindings. [skip build]
This commit is contained in:
1 parent
593dd3bdf3
commit
5477242661
26 files changed
+95
-161
No files matched your search
@@ -54,14 +54,11 @@ export function ForumBoardDetail() {
|
||||
[threads, selectedPostId],
|
||||
);
|
||||
|
||||
const handleReplySent = useCallback(
|
||||
(_reply: ForumPost) => {
|
||||
if (selectedPostId) {
|
||||
recordThreadReply(selectedPostId);
|
||||
}
|
||||
},
|
||||
[recordThreadReply, selectedPostId],
|
||||
);
|
||||
const handleReplySent = useCallback(() => {
|
||||
if (selectedPostId) {
|
||||
recordThreadReply(selectedPostId);
|
||||
}
|
||||
}, [recordThreadReply, selectedPostId]);
|
||||
|
||||
const showThread = Boolean(selectedPostId && activeTopicRoom);
|
||||
const threadInitialPost = optimisticPost?.eventId === selectedPostId ? optimisticPost : null;
|
||||
|
||||
Reference in new issue
Block a user