Skip to content

Commit cbf037e

Browse files
committed
cp dines
1 parent 440bdd4 commit cbf037e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/MainMenu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export const MainMenu = ({ onSelect }: MainMenuProps) => {
162162
{ key: "1-5", label: "Quick select" },
163163
{ key: "Enter", label: "Select" },
164164
{ key: "Esc", label: "Quit" },
165-
{ key: "u", label: "Update", condition: updateAvailable },
165+
{ key: "u", label: "Update", condition: !!updateAvailable },
166166
]}
167167
/>
168168
</Box>
@@ -242,7 +242,7 @@ export const MainMenu = ({ onSelect }: MainMenuProps) => {
242242
{ key: "1-5", label: "Quick select" },
243243
{ key: "Enter", label: "Select" },
244244
{ key: "Esc", label: "Quit" },
245-
{ key: "u", label: "Update", condition: updateAvailable },
245+
{ key: "u", label: "Update", condition: !!updateAvailable },
246246
]}
247247
/>
248248
</Box>

0 commit comments

Comments
 (0)