mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix posting field checks
This commit is contained in:
@@ -278,7 +278,7 @@ const Board = () => {
|
||||
|
||||
|
||||
useEffect(() => {
|
||||
if (publishCommentOptions.subject && triggerPublishComment) {
|
||||
if (publishCommentOptions && triggerPublishComment) {
|
||||
(async () => {
|
||||
await publishComment();
|
||||
resetFields();
|
||||
|
||||
Reference in New Issue
Block a user