diff --git a/src/App.js b/src/App.js
index 2c51784..3161251 100644
--- a/src/App.js
+++ b/src/App.js
@@ -68,6 +68,7 @@ export const App = () => {
rest_gw: process.env.REACT_APP_RESTGW ? process.env.REACT_APP_RESTGW : 'https://rest.t5.fs.neo.org/v1',
});
+ const [networkInfo, setNetworkInfo] = useState(null);
const [depositQuantity, setDepositQuantity] = useState(0);
const [withdrawQuantity, setWithdrawQuantity] = useState(0);
const [attributes, setAttributes] = useState([]);
@@ -214,6 +215,12 @@ export const App = () => {
onPopup('success', 'Wallet connected');
onModal();
+ api('GET', '/network-info').then((e) => {
+ if (!e.message) {
+ setNetworkInfo(e);
+ }
+ });
+
if (location.pathname.indexOf('/profile') === -1 && location.pathname.indexOf('/getobject') === -1) {
navigate('/profile');
}
@@ -1083,7 +1090,7 @@ export const App = () => {
Container creation is a paid operation, make sure you have sufficient NeoFS chain balance
)}
-