Skip to content

Commit

Permalink
update transaction at postText updated (#4023)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkbeefcake authored Jan 9, 2023
1 parent d659bb6 commit b305e51
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const PostReplyModal = () => {
if (api && active) {
return transactionFactory(api, module, state.context.postText, state.context.isEditable, replyTo, active.id)
}
}, [api?.isConnected])
}, [api?.isConnected, state.context.postText, state.context.isEditable])
const { feeInfo } = useTransactionFee(active?.controllerAccount, () => transaction)
const requiredAmount = useMemo(
() => feeInfo && api && feeInfo.transactionFee.add(postDeposit ?? BN_ZERO),
Expand Down

1 comment on commit b305e51

@vercel
Copy link

@vercel vercel bot commented on b305e51 Jan 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dao – ./

dao-git-main-joystream.vercel.app
dao-joystream.vercel.app
dao.joystream.org
pioneerapp.xyz

Please sign in to comment.