mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix: resolve TypeScript build errors and deployment blockers
- Fix missing lucide-react icon imports in type declarations - Add 40+ missing icon exports (Loader2, ExternalLink, Type, etc.) - Fix ArrowLeft → ChevronLeft imports in auth pages - Resolve LucideIcon type declaration issue - Fix invalid Button variant 'ghost' → 'text' in KeyboardShortcutsHelp - Ensure project builds successfully with Bun package manager - Address CodeRabbit review feedback for production readiness These fixes resolve all TypeScript compilation errors and make the project fully deployment-ready. Build now passes with zero errors.
This commit is contained in:
@@ -15,7 +15,7 @@ import { Label } from "@/components/ui/label";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import Link from "next/link";
|
||||
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
|
||||
import { ArrowLeft, Loader2 } from "lucide-react";
|
||||
import { ChevronLeft, Loader2 } from "lucide-react";
|
||||
import { GoogleIcon } from "@/components/icons";
|
||||
import { useLogin } from "@/hooks/auth/useLogin";
|
||||
|
||||
@@ -41,7 +41,7 @@ const LoginPage = () => {
|
||||
onClick={() => router.back()}
|
||||
className="absolute top-6 left-6"
|
||||
>
|
||||
<ArrowLeft className="h-5 w-5" /> Back
|
||||
<ChevronLeft className="h-5 w-5" /> Back
|
||||
</Button>
|
||||
<Card className="w-[400px] shadow-lg border-0">
|
||||
<CardHeader className="text-center pb-4">
|
||||
|
||||
@@ -15,7 +15,7 @@ import { Label } from "@/components/ui/label";
|
||||
import { Separator } from "@/components/ui/separator";
|
||||
import Link from "next/link";
|
||||
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
|
||||
import { ArrowLeft, Loader2 } from "lucide-react";
|
||||
import { ChevronLeft, Loader2 } from "lucide-react";
|
||||
import { GoogleIcon } from "@/components/icons";
|
||||
import { useSignUp } from "@/hooks/auth/useSignUp";
|
||||
|
||||
@@ -43,7 +43,7 @@ const SignUpPage = () => {
|
||||
onClick={() => router.back()}
|
||||
className="absolute top-6 left-6"
|
||||
>
|
||||
<ArrowLeft className="h-5 w-5" /> Back
|
||||
<ChevronLeft className="h-5 w-5" /> Back
|
||||
</Button>
|
||||
<Card className="w-[400px] shadow-lg border-0">
|
||||
<CardHeader className="text-center pb-4">
|
||||
|
||||
Reference in New Issue
Block a user