mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 05:11:13 -05:00
feat: Implement Uppy photo upload
This commit is contained in:
@@ -4,7 +4,7 @@ import { Button } from '@/components/ui/button';
|
||||
import { Card, CardContent } from '@/components/ui/card';
|
||||
import { useAuth } from '@/hooks/useAuth';
|
||||
import { useNavigate } from 'react-router-dom';
|
||||
import { PhotoSubmissionUpload } from '@/components/upload/PhotoSubmissionUpload';
|
||||
import { UppyPhotoSubmissionUpload } from '@/components/upload/UppyPhotoSubmissionUpload';
|
||||
import { supabase } from '@/integrations/supabase/client';
|
||||
|
||||
interface RidePhoto {
|
||||
@@ -67,7 +67,7 @@ export function RidePhotoGallery({ rideId, rideName, parkId }: RidePhotoGalleryP
|
||||
Back to Gallery
|
||||
</Button>
|
||||
</div>
|
||||
<PhotoSubmissionUpload
|
||||
<UppyPhotoSubmissionUpload
|
||||
rideId={rideId}
|
||||
parkId={parkId}
|
||||
onSubmissionComplete={handleSubmissionComplete}
|
||||
|
||||
Reference in New Issue
Block a user