Skip to content
Open
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
6 changes: 3 additions & 3 deletions frontend/app/(app)/pricing/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import {
CheckIcon,
StarIcon
} from "@phosphor-icons/react/dist/ssr";
import RazorpayPayment from "@/components/RazorpayPayment";
import { useEffect } from "react";
import { useCredits } from "@/hooks/useCredits";
import PaymentModal from "@/components/PaymentModal";

const pricingPlans = [
{
Expand Down Expand Up @@ -144,7 +144,7 @@ export default function PricingPage() {
))}
</div>

<RazorpayPayment
<PaymentModal
plan={{
name: plan.name,
price: plan.price,
Expand All @@ -158,7 +158,7 @@ export default function PricingPage() {
}`}
>
{plan.cta.text}
</RazorpayPayment>
</PaymentModal>
</CardContent>
</Card>
))}
Expand Down
1 change: 1 addition & 0 deletions frontend/app/_components/Otp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export function Otp({ email }: { email: string }) {

const handleResend = async () => {
setIsResending(true);
setOtp("")
try {
const response = await fetch(`${BACKEND_URL}/auth/initiate_signin`, {
method: "POST",
Expand Down
Loading