From 85f4cb99d9d3f32303ab3b2121a8e7cbe65c1aca Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Thu, 5 Jan 2023 15:00:33 +0000 Subject: [PATCH] Updating error message --- .../@shared/FormInput/InputElement/FilesInput/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/@shared/FormInput/InputElement/FilesInput/index.tsx b/src/components/@shared/FormInput/InputElement/FilesInput/index.tsx index 482cecb62..1de1a0d32 100644 --- a/src/components/@shared/FormInput/InputElement/FilesInput/index.tsx +++ b/src/components/@shared/FormInput/InputElement/FilesInput/index.tsx @@ -32,11 +32,11 @@ export default function FilesInput(props: InputProps): ReactElement { ) } // Check if provider is a valid provider - const isValid = await ProviderInstance.isValidProvider(field.value.url) + const isValid = await ProviderInstance.isValidProvider(providerUrl) if (!isValid) throw Error( - '✗ Provider cannot be reached, please check status at https://status.oceanprotocol.com and try again later.' + '✗ Provider cannot be reached, please check status.oceanprotocol.com and try again later.' ) const checkedFile = await getFileInfo(url, providerUrl, storageType)