mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Revert "fix subplebbitAddress in ReplyModal"
This reverts commit b7c453cf00.
This commit is contained in:
@@ -14,6 +14,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
|
||||
setIsCaptchaOpen,
|
||||
setPendingComment,
|
||||
setResolveCaptchaPromise,
|
||||
selectedAddress,
|
||||
selectedParentCid,
|
||||
selectedShortCid,
|
||||
selectedStyle,
|
||||
@@ -27,6 +28,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
|
||||
|
||||
const [errorMessage, setErrorMessage] = useState(null);
|
||||
useError(errorMessage, [errorMessage]);
|
||||
|
||||
|
||||
const onChallengeVerification = (challengeVerification) => {
|
||||
if (challengeVerification.challengeSuccess === true) {
|
||||
@@ -55,7 +57,7 @@ const ReplyModal = ({ isOpen, closeModal }) => {
|
||||
|
||||
|
||||
const [publishCommentOptions, setPublishCommentOptions] = useState({
|
||||
subplebbitAddress: selectedParentCid,
|
||||
subplebbitAddress: selectedAddress,
|
||||
onChallenge,
|
||||
onChallengeVerification,
|
||||
onError: (error) => {
|
||||
|
||||
Reference in New Issue
Block a user