From 1695fa0c81eff0145b7e0037feceb5daac197e5c Mon Sep 17 00:00:00 2001 From: "Tom (plebeius.eth)" Date: Sun, 25 Aug 2024 19:03:11 +0200 Subject: [PATCH] remove logs --- src/hooks/use-publish-reply.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/hooks/use-publish-reply.ts b/src/hooks/use-publish-reply.ts index 81399ef9..192d1603 100644 --- a/src/hooks/use-publish-reply.ts +++ b/src/hooks/use-publish-reply.ts @@ -62,8 +62,6 @@ const useReplyStore = create((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 };