Skip to content

Commit

Permalink
remove payment section
Browse files Browse the repository at this point in the history
  • Loading branch information
NickJ202 committed Jul 23, 2024
1 parent 52f4b92 commit 250d285
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import { useSelector } from 'react-redux';

import { getLicenseValuePayment } from 'gql';

import { Button } from 'components/atoms/Button';
// import { Button } from 'components/atoms/Button';
import { AssetInfoLicense } from 'components/molecules/AssetInfoLicense';
import { Modal } from 'components/molecules/Modal';
import { TurboBalanceFund } from 'components/molecules/TurboBalanceFund';
import { ASSETS, TAGS } from 'helpers/config';
import { formatTurboAmount, getTurboBalance } from 'helpers/utils';
import { useArweaveProvider } from 'providers/ArweaveProvider';
// import { formatTurboAmount, getTurboBalance } from 'helpers/utils';
// import { useArweaveProvider } from 'providers/ArweaveProvider';
import { useLanguageProvider } from 'providers/LanguageProvider';
import { RootState } from 'store';

Expand All @@ -18,7 +18,7 @@ import * as S from './styles';
export default function UploadStepsChecks() {
const uploadReducer = useSelector((state: RootState) => state.uploadReducer);

const arProvider = useArweaveProvider();
// const arProvider = useArweaveProvider();

const languageProvider = useLanguageProvider();
const language = languageProvider.object[languageProvider.current];
Expand Down Expand Up @@ -129,7 +129,7 @@ export default function UploadStepsChecks() {
}}
/>
)}
{arProvider.wallet && (
{/* {arProvider.wallet && (
<>
<S.InfoHeader>
<span>{language.paymentInformation}</span>
Expand Down Expand Up @@ -172,7 +172,7 @@ export default function UploadStepsChecks() {
</S.InfoLine>
</S.InfoWrapper>
</>
)}
)} */}
</S.Wrapper>
{showPlayer && uploadReducer.data.content && (
<Modal header={language.previewContent} handleClose={() => setShowPlayer(false)}>
Expand Down
8 changes: 4 additions & 4 deletions src/wallet/WalletConnect/WalletConnect.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from 'react';

import { Avatar } from 'components/atoms/Avatar';
import { Button } from 'components/atoms/Button';
// import { Button } from 'components/atoms/Button';
import { Modal } from 'components/molecules/Modal';
import { TurboBalanceFund } from 'components/molecules/TurboBalanceFund';
import { ProfileManage } from 'components/organisms/ProfileManage';
import { formatAddress, formatARAmount, getTurboBalance } from 'helpers/utils';
import { formatAddress, formatARAmount } from 'helpers/utils';
import { useArweaveProvider } from 'providers/ArweaveProvider';
import { useLanguageProvider } from 'providers/LanguageProvider';
import { CloseHandler } from 'wrappers/CloseHandler';
Expand Down Expand Up @@ -98,7 +98,7 @@ export default function WalletConnect(_props: { callback?: () => void }) {
<p>{language.arBalance}</p>
<span>{formatARAmount(arProvider.arBalance ? arProvider.arBalance : 0)}</span>
</div>
<div>
{/* <div>
<S.BHeader>
<p>{language.turboBalance}</p>
<S.BHeaderActions>
Expand All @@ -122,7 +122,7 @@ export default function WalletConnect(_props: { callback?: () => void }) {
</S.BHeaderActions>
</S.BHeader>
<span>{getTurboBalance(arProvider.turboBalance)}</span>
</div>
</div> */}
</S.BWrapper>
</S.DHeaderWrapper>
<S.DBodyWrapper>
Expand Down

0 comments on commit 250d285

Please sign in to comment.