explorer: fixing colour
This commit is contained in:
@@ -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 });
|
||||
|
||||
@@ -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}`}
|
||||
|
||||
Reference in New Issue
Block a user