Skip to content

Commit 9589174

Browse files
committed
fix(web): use tash2 icon instead of x for clearing values
1 parent 1d993aa commit 9589174

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

apps/web/src/components/workflow/fields/clear-button.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { XIcon } from "lucide-react";
1+
import { Trash2Icon } from "lucide-react";
22

33
interface ClearButtonProps {
44
onClick: () => void;
@@ -18,7 +18,7 @@ export function ClearButton({
1818
aria-label={label}
1919
type="button"
2020
>
21-
<XIcon className="h-4 w-4" />
21+
<Trash2Icon className="h-4 w-4" />
2222
</button>
2323
);
2424
}

apps/web/src/components/workflow/widgets/canvas-doodle.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Eraser from "lucide-react/icons/eraser";
1+
import { Trash2 } from "lucide-react";
22
import Save from "lucide-react/icons/save";
33
import { useEffect, useRef, useState } from "react";
44

@@ -210,7 +210,7 @@ function CanvasDoodleWidget({
210210
disabled={isUploading || readonly}
211211
aria-label="Clear"
212212
>
213-
<Eraser className="!size-3" />
213+
<Trash2 className="!size-3" />
214214
</button>
215215
<button
216216
onClick={saveCanvas}

0 commit comments

Comments
 (0)