Skip to content

Commit

Permalink
chore: replace the inline return to have braces
Browse files Browse the repository at this point in the history
  • Loading branch information
Xremn committed Mar 7, 2024
1 parent 243f509 commit 01611bf
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/lib/components/modes/tablemode/TableMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -942,7 +942,10 @@
})
const items = onRenderContextMenu(defaultItems)
if (items === false) return
if (items === false) {
return
}
const props = {
tip: showTip
Expand Down
4 changes: 3 additions & 1 deletion src/lib/components/modes/treemode/TreeMode.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -1835,7 +1835,9 @@
const items = onRenderContextMenu(defaultItems)
if (items === false) return
if (items === false) {
return
}
const props = {
tip: showTip
Expand Down

0 comments on commit 01611bf

Please sign in to comment.