Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/CardWaitlist/CardFeesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ const CardFeesModal = ({ isOpen, onOpenChange }: CardFeesModalProps) => {
</View>

<AuthButton>
<GetCardButton className="w-full" />
<GetCardButton className="w-full" onPress={() => onOpenChange(false)} />
</AuthButton>
</View>
</ResponsiveModal>
Expand Down
2 changes: 1 addition & 1 deletion components/CardWaitlist/CardWaitlistPageMobile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const CardWaitlistPageMobile = () => {
scrollable={false}
additionalContent={<CardFeesModal isOpen={feesOpen} onOpenChange={setFeesOpen} />}
>
<View className="flex-1 px-5 pb-4 pt-2">
<View className="flex-1 px-5 pb-24 pt-2">
<View className="flex-1 items-center justify-center">
<Image
source={getAsset('images/cards.png')}
Expand Down
4 changes: 3 additions & 1 deletion components/CardWaitlist/GetCardButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@ import { cn } from '@/lib/utils';

interface GetCardButtonProps {
className?: string;
onPress?: () => void;
}

const GetCardButton = ({ className }: GetCardButtonProps) => {
const GetCardButton = ({ className, onPress }: GetCardButtonProps) => {
const router = useRouter();

const handleGetCard = async () => {
onPress?.();
track(TRACKING_EVENTS.CARD_GET_CARD_PRESSED, {
source: 'card_waitlist',
});
Expand Down
Loading