Skip to content

Commit 4a3c61e

Browse files
committed
Improve the declaration of the editable prop
1 parent f68b618 commit 4a3c61e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/desktop/src/components/CommitRow.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
disabled,
7676
hasConflicts,
7777
active,
78-
editable = false,
78+
editable,
7979
onclick,
8080
menu,
8181
...args

apps/desktop/src/components/CommitTitle.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
editable?: boolean;
1010
};
1111
12-
const { commitMessage, truncate, className, editable = true }: Props = $props();
12+
const { commitMessage, truncate, className, editable }: Props = $props();
1313
1414
const title = $derived(splitMessage(commitMessage).title);
1515

0 commit comments

Comments
 (0)