Skip to content

πŸ†™ Upscayl - #1 Free and Open Source AI Image Upscaler for Linux, MacOS and Windows.

Refactor

Nayam Amarshe99f475df1f61
diff --git a/renderer/components/upscayl-tab/view/ImageOptions.tsx b/renderer/components/upscayl-tab/view/ImageOptions.tsx
index 058738f..1b18cd0 100644
--- a/renderer/components/upscayl-tab/view/ImageOptions.tsx
+++ b/renderer/components/upscayl-tab/view/ImageOptions.tsx
@@ -1,9 +1,7 @@
import { lensSizeAtom, viewTypeAtom } from "@/atoms/userSettingsAtom";
-import SidebarClosed from "@/components/icons/SidebarClosed";
-import SidebarOpened from "@/components/icons/SidebarOpened";
import { cn } from "@/lib/utils";
import { useAtom } from "jotai";
-import { Settings2Icon, WrenchIcon } from "lucide-react";
+import { WrenchIcon } from "lucide-react";
import { useEffect, useState } from "react";
const ImageOptions = ({
@@ -39,7 +37,7 @@ const ImageOptions = ({
}`}
>
<div
- className={`group rounded-btn absolute right-[100%] top-1/2 z-50 flex cursor-pointer items-center gap-2 rounded-r-none bg-base-100 p-4 transition-all duration-500`}
+ className={`group absolute right-[100%] top-1/2 z-50 flex cursor-pointer items-center gap-2 rounded-btn rounded-r-none bg-base-100 p-4 transition-all duration-500`}
onClick={() => {
setOpenSidebar(!openSidebar);
}}