Skip to content

Commit fc72d7e

Browse files
committed
Remove unnecessary is_focused prop from the Commit button in the CommitMessageModal
1 parent 78c3374 commit fc72d7e

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎packages/ui/src/components/editor/panel/modals/CommitMessageModal/CommitMessageModal.tsx‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,7 @@ export const CommitMessageModal: React.FC<Props> = (props) => {
7373
<Button on_click={props.on_cancel} is_secondary={true}>
7474
Cancel
7575
</Button>
76-
<Button
77-
on_click={handle_accept}
78-
disabled={!message.trim()}
79-
is_focused={true}
80-
>
76+
<Button on_click={handle_accept} disabled={!message.trim()}>
8177
Commit
8278
{is_timer_active && countdown > 0 && ` (${countdown})`}
8379
</Button>

0 commit comments

Comments
 (0)