diff --git a/src/pages/Deposit.jsx b/src/pages/Deposit.jsx
index 17b7c9c..038ad3c 100644
--- a/src/pages/Deposit.jsx
+++ b/src/pages/Deposit.jsx
@@ -4,6 +4,7 @@ import {Link} from "react-router-dom";
import LoaderPortal from '../components/LoaderPortal'
import { useState, useEffect } from "react";
import {ClusterService} from '../services/api'
+import notify from '../components/notify'
const calcViewParams = (clusters) => {
if (clusters.length === 0)
@@ -34,8 +35,10 @@ export default function Deposit() {
try{
const data = await ClusterService.getClusters()
setClustersData(data)
- }catch{
- //ignore
+ }
+ catch(ex) {
+ notify(`Не удалось загрузить список кустов`, 'error')
+ console.log(ex)
}
setShowLoader(false)
}
@@ -59,7 +62,7 @@ export default function Deposit() {
>
- {cluster.name}
+ {cluster.caption}
)}