Fix the mechanical lint groups and delete the unused bindings. [skip build]
This commit is contained in:
@@ -86,14 +86,11 @@ export function ForumSpaceShell() {
|
||||
[insertThreadFromNewPost, selectPost],
|
||||
);
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user