Skip to content

Commit

Permalink
WTF
Browse files Browse the repository at this point in the history
  • Loading branch information
napindc committed Jul 16, 2022
1 parent 3c724e3 commit 372f7e8
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions src/components/WhitelistCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -312,12 +312,12 @@ function WhitelistCard({
}
}}
hidden={iMod}
disabled={expired || claiming || claimed || full || showLive || isDemo||tabButton == 'live'}
// TODO @@@@@ OMG
// disabled={expired || claiming || claimed || full || showLive || isDemo||tabButton == 'live'}
>
{getClaimButtonText(expired,claiming,claimed, full, claims, showLive)}
</IonButton>


}

{!expired && iMod && <IonButton css={css`
Expand Down
22 changes: 11 additions & 11 deletions src/pages/bots/WhitelistMarketplace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,17 +278,17 @@ function WhitelistMarketplace() {
</div>

{/* expire */}
{isTabButton === 'expire' || isTabButton === 'myClaim' ?
<div className='flex justify-center mt-4'>
<div className={`${isTabButton === 'myClaim' ? 'seamless-tab-btn-active-colored' : 'seamless-tab-btn-deactive'} ml-2 w-60 h-10 text-xl `} onClick={()=>setIsTabButton('myClaim')}>
{/* <p>View my claim mints ({myClaimWhiteList?.length})</p> */}
{/* <div className="text-sm md:text-base p-2 md:px-4 w-full">View My Claimed Mints</div> */}
<div className="text-sm md:text-base p-2 w-full">View My Claimed Mints</div>
<div className=" bg-black/[.4] py-2 px-4 ">{myClaimWhiteList?.length}</div>
</div>
</div> : ''

}
{/*TODO: bugged*/}
{/*{isTabButton === 'expire' || isTabButton === 'myClaim' ?*/}
{/* <div className='flex justify-center mt-4'>*/}
{/* <div className={`${isTabButton === 'myClaim' ? 'seamless-tab-btn-active-colored' : 'seamless-tab-btn-deactive'} ml-2 w-60 h-10 text-xl `} onClick={()=>setIsTabButton('myClaim')}>*/}
{/* /!* <p>View my claim mints ({myClaimWhiteList?.length})</p> *!/*/}
{/* /!* <div className="text-sm md:text-base p-2 md:px-4 w-full">View My Claimed Mints</div> *!/*/}
{/* <div className="text-sm md:text-base p-2 w-full">View My Claimed Mints</div>*/}
{/* <div className=" bg-black/[.4] py-2 px-4 ">{myClaimWhiteList?.length}</div>*/}
{/* </div>*/}
{/* </div> : ''*/}
{/*}*/}

<div >
{/* my DAO live */}
Expand Down
6 changes: 3 additions & 3 deletions src/pages/bots/components/WhiteListFormField.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ let FieldContainer = (props:containerProps) =>{

if(fieldName==='type'){
return(
<IonSelect onIonChange={(e) => {
<IonSelect onIonChange={(e) => {
( e.target as HTMLInputElement ).value = e.detail.value;
onChange(e);
}}
name={name} value={value} onIonBlur={onBlur} ref={ref} >
<IonSelectOption value="fcfs"> FCFS </IonSelectOption>
{/*TODO !!!!!!!!!!! : isDev -- changelog */}
<IonSelectOption value="raffle"> Raffle </IonSelectOption>
{/*TODO @@@@@@ : isDev -- changelog */}
{/*<IonSelectOption value="raffle"> Raffle </IonSelectOption>*/}
</IonSelect>
)
}else if(fieldName==='expiration_date'){
Expand Down

0 comments on commit 372f7e8

Please sign in to comment.