diff --git a/api/api.js b/api/api.js
index af4a5f85..02045373 100644
--- a/api/api.js
+++ b/api/api.js
@@ -684,7 +684,7 @@ async function fetchValidatorIdentities(keys) {
*/
function getNetworkInflationRate(slot) {
const SLOTS_PER_SECOND = 1.0;
- const SECONDS_PER_YEAR = (365.25 * 24.0 * 60.0 * 60.0);
+ const SECONDS_PER_YEAR = 365.25 * 24.0 * 60.0 * 60.0;
const SLOTS_PER_YEAR = SLOTS_PER_SECOND * SECONDS_PER_YEAR;
const DEFAULT_INITIAL = 0.15;
const DEFAULT_TERMINAL = 0.015;
diff --git a/src/v2/components/TourDeSol/Cards/index.jsx b/src/v2/components/TourDeSol/Cards/index.jsx
index 65e14543..73b39c18 100644
--- a/src/v2/components/TourDeSol/Cards/index.jsx
+++ b/src/v2/components/TourDeSol/Cards/index.jsx
@@ -9,7 +9,12 @@ import useStyles from './styles';
const Cards = () => {
const classes = useStyles();
- const {cluster, validators, inactiveValidators, totalStakedTokens} = NodesStore;
+ const {
+ cluster,
+ validators,
+ inactiveValidators,
+ totalStakedTokens,
+ } = NodesStore;
const cards = [
{
diff --git a/src/v2/components/Validators/Table/index.jsx b/src/v2/components/Validators/Table/index.jsx
index 47244e29..16157114 100644
--- a/src/v2/components/Validators/Table/index.jsx
+++ b/src/v2/components/Validators/Table/index.jsx
@@ -26,9 +26,9 @@ const ValidatorsTable = ({separate}: {separate: boolean}) => {
const classes = useStyles();
const theme = useTheme();
const showTable = useMediaQuery(theme.breakpoints.up('md'));
- const {validators} = NodesStore;
+ const {validators, inactiveValidators} = NodesStore;
const renderRow = row => {
- const uptime = getUptime(row);
+ const uptime = row.uptime && getUptime(row);
const {identity = {}, nodePubkey, stake, commission} = row;
return (