Skip to content

Commit

Permalink
fix: ImageNoteで、「スキャン」ボタン外を押してもダイアログが発生するバグの修正
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou committed Dec 17, 2023
1 parent 876481a commit 3235785
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/islands/note-x/components/notes/ImageNote/ImageNote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@ export const ImageNote = ((props: Props) => {
const [isShowEditor, setIsShowEditor] = createSignal(false)
return <div onClick={() => {
props.focus()

if (noteBookState.isEditMode) {
setIsShowEditor(true)
}
}}>
<Show when={isShowCloseDialog()}>
<Dialog onClose={(result) => {
Expand Down

0 comments on commit 3235785

Please sign in to comment.