mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
add todo
This commit is contained in:
parent
ee0f411c24
commit
1566051545
@ -14,6 +14,7 @@ export default function CustomProvider(props: InputProps): ReactElement {
|
|||||||
setIsLoading(true)
|
setIsLoading(true)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
// TODO: #948 Remove ocean.provider.isValidProvider dependency.
|
||||||
const isValid = await ocean.provider.isValidProvider(url)
|
const isValid = await ocean.provider.isValidProvider(url)
|
||||||
setIsValid(isValid)
|
setIsValid(isValid)
|
||||||
helpers.setError(undefined)
|
helpers.setError(undefined)
|
||||||
|
Loading…
Reference in New Issue
Block a user