fix: restore missing imports in CameraCapture

This commit is contained in:
2025-12-18 11:52:07 +01:00
parent 5f757d7b56
commit e339585e3a

View File

@@ -1,8 +1,16 @@
'use client';
import React, { useRef, useState } from 'react';
import { ChevronRight } from 'lucide-react';
import { Camera, Upload, CheckCircle2, AlertCircle, Sparkles, ExternalLink, ChevronRight } from 'lucide-react';
import { createClientComponentClient } from '@supabase/auth-helpers-nextjs';
import { useRouter, useSearchParams } from 'next/navigation';
import { analyzeBottle } from '@/services/analyze-bottle';
import { saveBottle } from '@/services/save-bottle';
import { BottleMetadata } from '@/types/whisky';
import { savePendingBottle } from '@/lib/offline-db';
import { v4 as uuidv4 } from 'uuid';
import { findMatchingBottle } from '@/services/find-matching-bottle';
import Link from 'next/link';
interface CameraCaptureProps {
onImageCaptured?: (base64Image: string) => void;