Skip to content

Commit

Permalink
chore: update code
Browse files Browse the repository at this point in the history
  • Loading branch information
camewell071 committed Jan 15, 2024
1 parent ee0d83f commit daa02c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/modules/Whitelist/HistoryMessage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import Loading from '@/components/Loading';
import { useAppSelector } from '@/stores/hooks';
import { commonSelector } from '@/stores/states/common/selector';
import { shareTwitterSignature } from '@/utils/helpers';
import cs from 'classnames';

let interval: any = undefined;

Expand Down Expand Up @@ -71,7 +72,9 @@ const HistoryMessage = () => {
}

return (
<Flex className={styles.container}>
<Flex className={cs(styles.container, {
[styles.container__congrats as string]: !!amount.txsCount
})}>
<img src={`${CDN_URL_ICONS}/ic-verify.svg`} />
{amount.txsCount ? (
<Flex flexDirection="column" w="100%" alignItems="center">
Expand Down
5 changes: 5 additions & 0 deletions src/modules/Whitelist/HistoryMessage/styles.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@
line-height: 26px;
}

&__congrats {
background-image: url("https://cdn.newbitcoincity.com/nbc/icons/bvm-icons/congrats-bg.png");
background-size: contain;
}

button {
display: flex;
width: 180px !important;
Expand Down

0 comments on commit daa02c1

Please sign in to comment.