Skip to content

Commit 97bc63a

Browse files
committed
fix: Fix issue with history buttons in preview
1 parent 20fca02 commit 97bc63a

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/components/form-builder/ui/header/form-builder-header.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,12 @@ export function FormBuilderHeader() {
8181

8282
{mode !== "export" && !editor && (
8383
<>
84+
{mode !== "editor-preview" && (
8485
<UndoRedoButtons
8586
size="sm"
8687
variant="ghost"
8788
/>
89+
)}
8890
<ToggleGroupNav
8991
name="viewport"
9092
items={viewportItems}

0 commit comments

Comments
 (0)