Skip to content

Commit

Permalink
Update meme 8 m (#574)
Browse files Browse the repository at this point in the history
* update meme for 8 months

* update
  • Loading branch information
xieqiancaosissi authored Aug 4, 2024
1 parent a73a070 commit bcff8c1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/components/meme/MemeVoteModal.tsx
Original file line number Diff line number Diff line change
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
8 changes: 4 additions & 4 deletions src/components/meme/Staking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,21 +126,21 @@ const Staking = () => {
<div className="xsm:bg-memeStakingBgColor xsm:border xsm:border-memeBorderColor xsm:rounded-2xl xsm:pt-8 xsm:pb-8 xsm:px-11">
<div className="lg:hidden mb-3 flex flex-col items-center">
<div className="text-base text-primaryText">Current Round:</div>
<div className="text-lg mb-4">2024/07/06-2024/08/05</div>
<div className="text-lg mb-4">2024/08/06-2024/09/05</div>
{/* <div className="text-base text-primaryText">Next Round:</div>
<div className="text-lg mb-6">2024/07/06-2024/08/05</div> */}
<div className="text-lg mb-6">2024/08/06-2024/09/05</div> */}
</div>
<div className="mb-6" style={{ height: '285px' }}>
<StakingChart chartType="xref" />
</div>
<div className="flex justify-between mb-6 px-16 xsm:hidden">
<div className="text-left ">
<p className="text-sm text-primaryText mb-2">Current Round:</p>
<div className="text-sm ">2024/07/06-2024/08/05</div>
<div className="text-sm ">2024/08/06-2024/09/05</div>
</div>
{/* <div className="text-left">
<p className="text-sm text-primaryText mb-2">Next Round:</p>
<div className="text-sm ">2024/07/06-2024/08/05</div>
<div className="text-sm ">2024/08/06-2024/09/05</div>
</div> */}
</div>
{!hasGuided &&
Expand Down
2 changes: 1 addition & 1 deletion src/components/meme/StakingChart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const StakingChart = ({ chartType }) => {
const meme_winner_tokens = memeDataConfig.meme_winner_tokens;
const displaySeeds = useMemo(() => {
if (emptyObject(seeds)) return {};
return seeds;
// return seeds;
return meme_winner_tokens.reduce(
(acc, memeTokenId) => ({
...acc,
Expand Down
6 changes: 3 additions & 3 deletions src/components/meme/memeConfig.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -418,11 +418,11 @@ export function getMemeDataConfig(): any {
'https://assets.ref.finance/images/blackdragon-icon.png',
},
meme_winner_tokens: [
'token.lonkingnearbackto2024.near',
'blackdragon.tkn.near',
'usmeme.tg',
'token.lonkingnearbackto2024.near',
'touched.tkn.near',
'token.0xshitzu.near',
'nearnvidia.near',
],
meme_nonListed_tokens: [
'gear.enleap.near',
Expand Down Expand Up @@ -461,7 +461,7 @@ export function getMemeDataConfig(): any {
meme_cap_tokens: [
'token.lonkingnearbackto2024.near',
'blackdragon.tkn.near',
'usmeme.tg',
'nearnvidia.near',
'touched.tkn.near',
'token.0xshitzu.near',
],
Expand Down

0 comments on commit bcff8c1

Please sign in to comment.