mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Merge pull request #1660 from oceanprotocol/fix/issue-1659-publish-fails-connection
fix publishing when connecting wallet on publish form
This commit is contained in:
commit
0c9b276247
@ -22,13 +22,6 @@ export function Steps({
|
||||
setFieldValue('user.accountId', accountId)
|
||||
}, [chainId, accountId, setFieldValue])
|
||||
|
||||
// Reset the selected baseToken on chainId change
|
||||
useEffect(() => {
|
||||
if (!chainId) return
|
||||
|
||||
setFieldValue('pricing.baseToken', null)
|
||||
}, [chainId, setFieldValue])
|
||||
|
||||
// auto-sync publish feedback into form data values
|
||||
useEffect(() => {
|
||||
setFieldValue('feedback', feedback)
|
||||
|
Loading…
Reference in New Issue
Block a user