change icon

This commit is contained in:
Josh Hawkins 2024-05-08 07:46:40 -05:00
parent 2afe502bc2
commit ec1a177358
2 changed files with 4 additions and 4 deletions

View File

@ -31,7 +31,7 @@ import {
TooltipTrigger, TooltipTrigger,
} from "@/components/ui/tooltip"; } from "@/components/ui/tooltip";
import { IoClose } from "react-icons/io5"; import { IoClose } from "react-icons/io5";
import { LuMoveDiagonal2 } from "react-icons/lu"; import { LuMove } from "react-icons/lu";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
type DraggableGridLayoutProps = { type DraggableGridLayoutProps = {
@ -394,7 +394,7 @@ function DesktopEditLayoutButton({
{isEditMode ? ( {isEditMode ? (
<IoClose className="size-5" /> <IoClose className="size-5" />
) : ( ) : (
<LuMoveDiagonal2 className="size-5" /> <LuMove className="size-5" />
)} )}
</Button> </Button>
</TooltipTrigger> </TooltipTrigger>

View File

@ -22,7 +22,7 @@ import {
import useSWR from "swr"; import useSWR from "swr";
import DraggableGridLayout from "./DraggableGridLayout"; import DraggableGridLayout from "./DraggableGridLayout";
import { IoClose } from "react-icons/io5"; import { IoClose } from "react-icons/io5";
import { LuMoveDiagonal2 } from "react-icons/lu"; import { LuMove } from "react-icons/lu";
type LiveDashboardViewProps = { type LiveDashboardViewProps = {
cameras: CameraConfig[]; cameras: CameraConfig[];
@ -196,7 +196,7 @@ export default function LiveDashboardView({
setIsEditMode((prevIsEditMode) => !prevIsEditMode) setIsEditMode((prevIsEditMode) => !prevIsEditMode)
} }
> >
{isEditMode ? <IoClose /> : <LuMoveDiagonal2 />} {isEditMode ? <IoClose /> : <LuMove />}
</Button> </Button>
</div> </div>
)} )}