Skip to content

Commit 5ecf3a9

Browse files
authored
Updated the placement of Yes/No
1 parent 8c58ebf commit 5ecf3a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/utils/commit.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,20 @@ async function askForCommitMessage() {
3232
};
3333

3434
const items = [
35-
{
36-
label: 'Yes',
37-
value: true,
38-
},
3935
{
4036
label: 'No',
4137
value: false,
4238
},
39+
{
40+
label: 'Yes',
41+
value: true,
42+
},
4343
];
4444

4545
return (
4646
<Box flexDirection="column">
4747
<Text>{`Suggested commit message: ${prompt}\nDo you want to proceed?`}</Text>
48-
<SelectInput initialIndex={1} items={items} onSelect={handleSelect} />
48+
<SelectInput items={items} onSelect={handleSelect} />
4949
</Box>
5050
);
5151
};

0 commit comments

Comments
 (0)