couple touchups

This commit is contained in:
Anthony 2021-07-29 22:37:16 +02:00
parent 5b20e99fd8
commit 81fa79301d
No known key found for this signature in database
GPG key ID: C386D3C93D50E356
3 changed files with 3 additions and 3 deletions

View file

@ -92,7 +92,7 @@ const WalletBalance = (props: Props) => {
<div className="section__actions"> <div className="section__actions">
<Button button="primary" label={__('Receive Payout')} icon={ICONS.SEND} /> <Button button="primary" label={__('Receive Payout')} icon={ICONS.SEND} />
<Button button="secondary" label={__('Account Configuration')} icon={ICONS.SETTINGS} navigate={`/$/${PAGES.SETTINGS_STRIPE_CARD}`} /> <Button button="secondary" label={__('Account Configuration')} icon={ICONS.SETTINGS} navigate={`/$/${PAGES.SETTINGS_STRIPE_ACCOUNT}`} />
</div> </div>
</> </>
} }

View file

@ -64,7 +64,7 @@ const WalletBalance = (props: Props) => {
</h2> </h2>
<div className="section__actions"> <div className="section__actions">
<Button button="secondary" label={__('Manage Cards')} icon={ICONS.SETTINGS} navigate={`/$/${PAGES.SETTINGS_STRIPE_ACCOUNT}`} /> <Button button="secondary" label={__('Manage Cards')} icon={ICONS.SETTINGS} navigate={`/$/${PAGES.SETTINGS_STRIPE_CARD}`} />
</div> </div>
</> </>
} }

View file

@ -157,7 +157,7 @@ const WalletPage = (props: Props) => {
if (1 === 2) { if (1 === 2) {
focusAccountHistoryTab(); focusAccountHistoryTab();
// } else if (tab === 'payment-history'){ // } else if (tab === 'payment-history'){
} else if (1 === 1){ } else if (1 === 2){
focusPaymentHistoryTab(); focusPaymentHistoryTab();
} }
}, []); }, []);