feat: enhance DNS resolution handling in API service and add react-zoom-pan-pinch dependency
This commit is contained in:
@@ -13,7 +13,9 @@ export const ErrorMessage = ({ errorCode, error, variant = "default" }: ErrorMes
|
||||
const { t } = useTranslate();
|
||||
const message = t(`errors.${errorCode}`);
|
||||
|
||||
console.error(error);
|
||||
if (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
if (variant === "form") {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user