Commit 6685cdbc authored by isstuev's avatar isstuev

tx type default

parent 7c47312a
...@@ -18,7 +18,7 @@ const TxType = ({ types }: Props) => { ...@@ -18,7 +18,7 @@ const TxType = ({ types }: Props) => {
switch (typeToShow) { switch (typeToShow) {
case 'contract_call': case 'contract_call':
label = 'Contract call'; label = 'Contract call';
colorScheme = 'blue'; colorScheme = 'green';
break; break;
case 'contract_creation': case 'contract_creation':
label = 'Contract creation'; label = 'Contract creation';
...@@ -36,6 +36,10 @@ const TxType = ({ types }: Props) => { ...@@ -36,6 +36,10 @@ const TxType = ({ types }: Props) => {
label = 'Coin transfer'; label = 'Coin transfer';
colorScheme = 'teal'; colorScheme = 'teal';
break; break;
default:
label = 'Transaction';
colorScheme = 'blue';
} }
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment