Skip to content

Commit

Permalink
Merge pull request #812 from TrustlessComputer/fix/studio_
Browse files Browse the repository at this point in the history
fix studio (launch + update button stattus)
  • Loading branch information
tonytc13579 authored Sep 30, 2024
2 parents a3d54a1 + bb6e43a commit 09f6c24
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/modules/blockchains/Buy/components3/LaunchButton/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,14 +145,17 @@ const LaunchButton = ({ isUpdate }: { isUpdate?: boolean }) => {
if (!loggedIn) {
return 'Launch';
}
if (needContactUs) {
return 'Launch';
}
// if (needContactUs) {
// return 'Launch';
// }
if (isUpdate) {
return 'Update';
}
if (isUpdateFlow) {
return 'Update';
}
return 'Launch';
}, [loggedIn, isUpdate, needContactUs]);
}, [loggedIn, isUpdate, needContactUs, isUpdateFlow]);

useEffect(() => {
const getChainIDRandomFunc = async () => {
Expand Down Expand Up @@ -395,15 +398,15 @@ const LaunchButton = ({ isUpdate }: { isUpdate?: boolean }) => {
yoloNodePositions,
walletTypeForms,
whitePaperForms,
whitePaperPositions
whitePaperPositions,
});

// console.log('UPDATE FLOW: --- dynamicForm --- ', dynamicForm);
console.log('LEON LOG: 111', {
stakingForms,
yoloGameForms,
airdropForms,
tokensForms
tokensForms,
});
let isConfigDapp = false;

Expand Down

0 comments on commit 09f6c24

Please sign in to comment.