Skip to content

Commit

Permalink
fix: button type for editor add button
Browse files Browse the repository at this point in the history
  • Loading branch information
gorgeousvlad committed Sep 26, 2023
1 parent 91c8016 commit 66b81dc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/editor/components/AddBlock/AddBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const AddBlock = ({onAdd, className}: PropsWithChildren<AddBlockProps>) => {
<div className={b(null, className)} ref={ref}>
<button
className={b('button')}
type="button"
onClick={() => {
setIsOpened(!isOpened);
setSearch('');
Expand Down

0 comments on commit 66b81dc

Please sign in to comment.