fix: replace missing lucide icons (Github, ImageResize), remove reactCompiler
Github icon doesn't exist in lucide-react 1.26.0, replaced with ExternalLink. ImageResize doesn't exist, replaced with Crop. reactCompiler requires babel-plugin-react-compiler which isn't installed. Co-Authored-By: Kilo <kilo@kilo.ai>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import { useState, useCallback } from "react";
|
||||
import { ImageResize } from "lucide-react";
|
||||
import { Crop } from "lucide-react";
|
||||
import { ToolLayout } from "@/components/tools/tool-layout";
|
||||
import { UploadZone } from "@/components/tools/upload-zone";
|
||||
import { useUpload } from "@/hooks/use-upload";
|
||||
@@ -57,7 +57,7 @@ export default function ImageResizePage() {
|
||||
<ToolLayout
|
||||
title="Resize Image"
|
||||
description="Ubah dimensi gambar"
|
||||
icon={ImageResize}
|
||||
icon={Crop}
|
||||
phase={1}
|
||||
>
|
||||
{pageState === "upload" && (
|
||||
|
||||
Reference in New Issue
Block a user