Skip to content

Commit

Permalink
Update meme vote time (#634)
Browse files Browse the repository at this point in the history
* feat: update meme vote date

* update vote date on ui

---------

Co-authored-by: naturexie <[email protected]>
  • Loading branch information
xieqiancaosissi and naturexie authored Nov 2, 2024
1 parent f186473 commit 1938efc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/meme/countdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Countdown = ({ onCountdownFinish }) => {
Date.UTC(new Date().getUTCFullYear(), 10, 1, 0, 0, 0) // 11月1日
);
const endDate = new Date(
Date.UTC(new Date().getUTCFullYear(), 10, 5, 0, 0, 0) // 11月5日
Date.UTC(new Date().getUTCFullYear(), 10, 11, 0, 0, 0) // 11月11日
);
const updateCountdown = () => {
const nowUtc = Date.now();
Expand Down
7 changes: 5 additions & 2 deletions src/components/meme/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1874,15 +1874,18 @@ export function CountdownMobileTitle(props: any) {

export function CountdownFinish(props: any) {
return (
<img {...props} src="https://img.ref.finance/images/memeVotePcNov.png" />
<img
{...props}
src="https://img.ref.finance/images/memeVotePcNovUpdate.png"
/>
);
}

export function CountdownFinishMobile(props: any) {
return (
<img
{...props}
src="https://img.ref.finance/images/memeVoteMobileNov.png"
src="https://img.ref.finance/images/memeVoteMobileNovUpdate.png"
/>
);
}
Expand Down

0 comments on commit 1938efc

Please sign in to comment.