Skip to content

Commit

Permalink
Update meme next episode (#560)
Browse files Browse the repository at this point in the history
Co-authored-by: lq0-github <[email protected]>
  • Loading branch information
xieqiancaosissi and lq0-github authored Jul 5, 2024
1 parent b707a13 commit 97475ec
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
20 changes: 10 additions & 10 deletions src/components/meme/MemeVoteModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ function MemeVoteModal(props: any) {
setSelectedOtherTab('');
}
}, [selectedTab]);
// function openMemeVoteConfirmModal() {
// setConfirmIsOpen(true);
// }
// function closeMemeVoteConfirmModal() {
// setConfirmIsOpen(false);
// }
function openMemeVoteConfirmModal() {
setConfirmIsOpen(true);
}
function closeMemeVoteConfirmModal() {
setConfirmIsOpen(false);
}
if (!selectedTab) return null;
return (
<Modal
Expand Down Expand Up @@ -337,8 +337,8 @@ function MemeVoteModal(props: any) {
<OprationButton
minWidth="7rem"
disabled={disabled}
// onClick={openMemeVoteConfirmModal}
onClick={stakeToken}
onClick={openMemeVoteConfirmModal}
// onClick={stakeToken}
className={`flex flex-grow items-center justify-center bg-greenLight text-boxBorder mt-6 rounded-xl h-12 text-base gotham_bold focus:outline-none ${
disabled || memeVoteLoading ? 'opacity-40' : ''
}`}
Expand Down Expand Up @@ -375,14 +375,14 @@ function MemeVoteModal(props: any) {
</div>
</div>
</div>
{/* {confirmIsOpen && (
{confirmIsOpen && (
<MemeVoteConfirmModal
isOpen={confirmIsOpen}
onRequestClose={closeMemeVoteConfirmModal}
onMemeVote={stakeToken}
delay_withdraw_sec={delay_withdraw_sec}
/>
)} */}
)}
</Modal>
);
}
Expand Down
1 change: 1 addition & 0 deletions src/components/meme/memeConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ export function getMemeDataConfig(): any {
'nkok.tkn.near': '4820',
'438e48ed4ce6beecf503d43b9dbd3c30d516e7fd.factory.bridge.near': '4528',
'touched.tkn.near': '4771',
'usmeme.tg': '4949',
},
token_icon: {
'ftv2.nekotoken.near':
Expand Down
24 changes: 12 additions & 12 deletions src/config/memeConfig.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
export const memeComingSoonJson = [
{
id: 'dragonsoultoken.near',
title: 'DGS',
introduce: `DGS is the exclusive token of DragonWorld game.
DragonWorld integrates the excellent elements of World of Warcraft and
Palworld, including dragon growth, dragon adventures, single and multiplayer
dungeons, dragon mining, dragon production farms, and a series of other interesting elements.`,
amount: '10000000',
airdropTime: 'June 30',
rules: `1-30: 150000 DGS\n31-100: 50000 DGS\n101-200: 20000 DGS`,
isShow: false,
},
// {
// id: 'dragonsoultoken.near',
// title: 'DGS',
// introduce: `DGS is the exclusive token of DragonWorld game.
// DragonWorld integrates the excellent elements of World of Warcraft and
// Palworld, including dragon growth, dragon adventures, single and multiplayer
// dungeons, dragon mining, dragon production farms, and a series of other interesting elements.`,
// amount: '10000000',
// airdropTime: 'June 30',
// rules: `1-30: 150000 DGS\n31-100: 50000 DGS\n101-200: 20000 DGS`,
// isShow: false,
// },
{
id: 'edge-fast.near',
title: '$FAST',
Expand Down

0 comments on commit 97475ec

Please sign in to comment.