Skip to content

Commit 44b67dd

Browse files
Fix: Import Flask from lucide-react
The `Flask` icon was not correctly imported from `lucide-react` in `PaymentSuccessPage.tsx`, causing a build error. This commit fixes the import to resolve the error.
1 parent 235a58f commit 44b67dd

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/pages/PaymentSuccessPage.tsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
21
import { useEffect, useState } from 'react';
32
import { useParams, useNavigate, useSearchParams } from 'react-router-dom';
43
import { useCampaigns } from '@/hooks/useCampaigns';
54
import { useStripePayment } from '@/hooks/useStripePayment';
65
import { useToast } from '@/hooks/use-toast';
7-
import { CheckCircle, AlertCircle, Loader2, Flask } from 'lucide-react';
6+
import { CheckCircle, AlertCircle, Loader2, TestTube } from 'lucide-react';
87
import { Button } from '@/components/ui/button';
98
import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card';
109

@@ -99,7 +98,7 @@ export const PaymentSuccessPage = () => {
9998
<div className="relative">
10099
<CheckCircle className="w-16 h-16 text-green-600" />
101100
{isSimulation && (
102-
<Flask className="w-6 h-6 text-orange-500 absolute -top-1 -right-1" />
101+
<TestTube className="w-6 h-6 text-orange-500 absolute -top-1 -right-1" />
103102
)}
104103
</div>
105104
)}
@@ -119,7 +118,7 @@ export const PaymentSuccessPage = () => {
119118
{isSimulation && status === 'success' && (
120119
<div className="bg-orange-50 border border-orange-200 rounded-lg p-3">
121120
<div className="flex items-center justify-center space-x-2 text-orange-700">
122-
<Flask className="w-4 h-4" />
121+
<TestTube className="w-4 h-4" />
123122
<span className="text-sm font-medium">Mode simulation</span>
124123
</div>
125124
<p className="text-xs text-orange-600 mt-1">

0 commit comments

Comments
 (0)