fix: restore missing imports in CameraCapture
This commit is contained in:
@@ -1,8 +1,16 @@
|
|||||||
'use client';
|
'use client';
|
||||||
|
|
||||||
import React, { useRef, useState } from 'react';
|
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 { 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 {
|
interface CameraCaptureProps {
|
||||||
onImageCaptured?: (base64Image: string) => void;
|
onImageCaptured?: (base64Image: string) => void;
|
||||||
|
|||||||
Reference in New Issue
Block a user