diff --git a/src/components/LayerUI.tsx b/src/components/LayerUI.tsx
index 822693fd3..4c8877731 100644
--- a/src/components/LayerUI.tsx
+++ b/src/components/LayerUI.tsx
@@ -419,24 +419,27 @@ const LayerUI = ({
/>
{!viewModeEnabled && (
-
- {actionManager.renderAction("undo", { size: "small" })}
- {actionManager.renderAction("redo", { size: "small" })}
-
+ <>
+
+ {actionManager.renderAction("undo", { size: "small" })}
+ {actionManager.renderAction("redo", { size: "small" })}
+
+
+
+ {actionManager.renderAction("eraser", { size: "small" })}
+
+ >
)}
-
- {actionManager.renderAction("eraser", { size: "small" })}
-