Skip to content

Commit

Permalink
chore: make naming of popup consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Feb 2, 2024
1 parent 7158d68 commit 2eff4cc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/app/features/psbt-signer/psbt-signer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { SignPsbtArgs } from '@app/common/psbt/requests';
import { useOnOriginTabClose } from '@app/routes/hooks/use-on-tab-closed';
import { useCurrentAccountNativeSegwitIndexZeroSigner } from '@app/store/accounts/blockchain/bitcoin/native-segwit-account.hooks';
import { useCurrentAccountTaprootIndexZeroSigner } from '@app/store/accounts/blockchain/bitcoin/taproot-account.hooks';
import { PopOutCard } from '@app/ui/components/containers/popout/popout.card';
import { PopupCard } from '@app/ui/components/containers/popup/popup-card';

import * as PSBT from './components';
import { useParsedPsbt } from './hooks/use-parsed-psbt';
Expand Down Expand Up @@ -85,7 +85,7 @@ export function PsbtSigner(props: PsbtSignerProps) {

return (
<PsbtSignerProvider value={psbtSignerContext}>
<PopOutCard>
<PopupCard>
<PSBT.PsbtRequestHeader name={name} origin={origin} />
<PSBT.PsbtRequestDetailsLayout>
{isPsbtMutable ? <PSBT.PsbtRequestSighashWarningLabel origin={origin} /> : null}
Expand All @@ -95,7 +95,7 @@ export function PsbtSigner(props: PsbtSignerProps) {
{psbtRaw ? <PSBT.PsbtRequestRaw psbt={psbtRaw} /> : null}
<PSBT.PsbtRequestFee fee={fee} />
</PSBT.PsbtRequestDetailsLayout>
</PopOutCard>
</PopupCard>
<PSBT.PsbtRequestActions
isLoading={isBroadcasting}
onCancel={onCancel}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
import { useOnMount } from '@app/common/hooks/use-on-mount';
import { initialSearchParams } from '@app/common/initial-search-params';
import { useCurrentAccountNativeSegwitSigner } from '@app/store/accounts/blockchain/bitcoin/native-segwit-account.hooks';
import { PopOutCard } from '@app/ui/components/containers/popout/popout.card';
import { PopupCard } from '@app/ui/components/containers/popup/popup-card';

import { BitcoinContractOfferDetailsSimple } from './components/bitcoin-contract-offer/bitcoin-contract-offer-details';
import { BitcoinContractRequestActions } from './components/bitcoin-contract-request-actions';
Expand Down Expand Up @@ -103,7 +103,7 @@ export function BitcoinContractRequest() {
return (
<>
{!isLoading && bitcoinAddress && bitcoinContractOfferDetails && (
<PopOutCard>
<PopupCard>
<BitcoinContractRequestHeader
counterpartyWalletName={
bitcoinContractOfferDetails.counterpartyWalletDetails.counterpartyWalletName
Expand All @@ -130,7 +130,7 @@ export function BitcoinContractRequest() {
bitcoinAddress={bitcoinAddress}
bitcoinContractOffer={bitcoinContractOfferDetails.simplifiedBitcoinContract}
/>
</PopOutCard>
</PopupCard>
)}
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function BitcoinContractRequestActions({

return (
<Footer>
<HStack mt="space.05" gap="space.04">
<HStack gap="space.04">
<Button
data-testid={BitcoinContractRequestSelectors.BitcoinContractRejectButton}
flexGrow={1}
Expand Down

0 comments on commit 2eff4cc

Please sign in to comment.