remove logs

This commit is contained in:
Tom (plebeius.eth)
2024-08-25 19:03:11 +02:00
parent 899239e10e
commit 1695fa0c81
-6
View File
@@ -62,8 +62,6 @@ const useReplyStore = create<ReplyState>((set) => ({
},
};
console.log('Final publishCommentOptions:', publishCommentOptions);
return {
author: { ...state.author, [parentCid]: updatedAuthor },
displayName: { ...state.displayName, [parentCid]: displayName },
@@ -117,8 +115,6 @@ const useReply = ({ cid, subplebbitAddress }: { cid: string; subplebbitAddress:
signer: anonMode ? signer || options.signer : undefined,
};
console.log('Final options to set in state:', newOptions);
setReplyStore(newOptions as SetReplyStoreData);
},
[subplebbitAddress, parentCid, author, displayName, signer, content, link, spoiler, setReplyStore, anonMode],
@@ -126,8 +122,6 @@ const useReply = ({ cid, subplebbitAddress }: { cid: string; subplebbitAddress:
const resetPublishReplyOptions = useCallback(() => resetReplyStore(parentCid), [parentCid, resetReplyStore]);
console.log('Final options before publishing', publishCommentOptions);
const { index, publishComment } = usePublishComment(publishCommentOptions);
return { setPublishReplyOptions, resetPublishReplyOptions, replyIndex: index, publishReply: publishComment, setReplyStore };