1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00
This commit is contained in:
Matthias Kretschmann 2021-11-24 16:15:47 +00:00
parent ee0f411c24
commit 1566051545
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -14,6 +14,7 @@ export default function CustomProvider(props: InputProps): ReactElement {
setIsLoading(true)
try {
// TODO: #948 Remove ocean.provider.isValidProvider dependency.
const isValid = await ocean.provider.isValidProvider(url)
setIsValid(isValid)
helpers.setError(undefined)