Skip to content

Commit

Permalink
fix: cancel button
Browse files Browse the repository at this point in the history
  • Loading branch information
rabyeoljji committed Dec 5, 2024
1 parent 9d0912d commit 0ad6307
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/shared/components/pro-dialog-trigger-wrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useAmplitudeContext } from '@/shared/hooks/use-amplitude-context'
import { DialogTriggerProps } from '@radix-ui/react-dialog'
import PaymentPage from '@/app/(routes)/payment/page'
import NIGHT_SKY_IMG from '@/../../public/images/pro-star-background.png'
import GoBackButton from '@/shared/components/custom/go-back-button'
import Icon from './custom/icon'

interface Props extends DialogTriggerProps, React.RefAttributes<HTMLButtonElement> {
open?: boolean
Expand Down Expand Up @@ -46,8 +46,8 @@ export default function ProDialogTriggerWrapper({ open, onOpenChange, children,
}}
>
<header className="relative z-10 flex h-[54px] w-full items-center px-[16px] text-text-primary-inverse">
<DialogClose>
<GoBackButton icon="cancel" />
<DialogClose className="justify-self-start">
<Icon name={'cancel'} className="size-[24px]" />
</DialogClose>
</header>

Expand Down

0 comments on commit 0ad6307

Please sign in to comment.