mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix config = undefined error in advanced publish settings (#915)
This commit is contained in:
parent
f4746e8a77
commit
0698c26440
@ -33,9 +33,9 @@ export default function AdvancedSettings(prop: {
|
||||
Advanced Settings
|
||||
</Button>
|
||||
)}
|
||||
{prop.content.data.map(
|
||||
{advancedSettings === true &&
|
||||
prop.content.data.map(
|
||||
(field: FormFieldProps) =>
|
||||
advancedSettings === true &&
|
||||
field.advanced === true && (
|
||||
<Field
|
||||
key={field.name}
|
||||
|
@ -36,7 +36,7 @@ export default function CustomProvider(props: InputProps): ReactElement {
|
||||
|
||||
useEffect(() => {
|
||||
loadProvider()
|
||||
}, [providerUrl, config.providerUri])
|
||||
}, [providerUrl, config?.providerUri])
|
||||
|
||||
async function handleButtonClick(e: React.SyntheticEvent, url: string) {
|
||||
helpers.setTouched(false)
|
||||
|
Loading…
x
Reference in New Issue
Block a user