Skip to content

Commit bc052ac

Browse files
committed
feat(neuron-ui): remove highlight on values in recent activities
1 parent df8b6b0 commit bc052ac

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

  • packages/neuron-ui/src/components/Overview

packages/neuron-ui/src/components/Overview/index.tsx

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -151,14 +151,7 @@ const Overview = ({
151151
if (item) {
152152
return (
153153
<>
154-
<Text
155-
variant="mediumPlus"
156-
as="span"
157-
style={{
158-
color: item.type === 'receive' ? '#28b463' : '#e66465',
159-
}}
160-
title={`${item.value} shannon`}
161-
>
154+
<Text variant="mediumPlus" as="span" title={`${item.value} shannon`}>
162155
{`${item.typeLabel} ${shannonToCKBFormatter(item.value)} CKB`}
163156
</Text>
164157
<Text variant="mediumPlus" as="span" title={item.confirmations} styles={{ root: [{ paddingLeft: '5px' }] }}>

0 commit comments

Comments
 (0)