From 296ed47ba4b6cf3756311b43b5eea86d708eea8e Mon Sep 17 00:00:00 2001 From: gala1234 Date: Thu, 26 May 2022 12:32:21 +0200 Subject: [PATCH] explorer: fixing colour --- explorer/src/context/main.tsx | 2 +- explorer/src/pages/Mixnodes/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/explorer/src/context/main.tsx b/explorer/src/context/main.tsx index 1d50112b91..d00d7fd1a0 100644 --- a/explorer/src/context/main.tsx +++ b/explorer/src/context/main.tsx @@ -84,7 +84,7 @@ export const MainContextProvider: React.FC = ({ children }) => { // TODO remove hard coded API response data.map((item) => { const node = item; - node.stake_saturation = 0.32; + node.stake_saturation = 3.2; return node; }); setMixnodes({ data, isLoading: false }); diff --git a/explorer/src/pages/Mixnodes/index.tsx b/explorer/src/pages/Mixnodes/index.tsx index 0a8014c67e..54de0641af 100644 --- a/explorer/src/pages/Mixnodes/index.tsx +++ b/explorer/src/pages/Mixnodes/index.tsx @@ -260,7 +260,7 @@ export const PageMixnodes: React.FC = () => { sx={{ ...getCellStyles(theme, params.row), textAlign: 'left', - colour: params.value > 100 ? theme.palette.warning.main : 'inherit', + color: params.value > 100 ? theme.palette.warning.main : 'inherit', }} component={RRDLink} to={`/network-components/mixnode/${params.row.identity_key}`}