Skip to content

Commit 30372a3

Browse files
committed
fix menu
2 parents ff09377 + 499df63 commit 30372a3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

enjoy/src/renderer/components/layouts/title-bar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ export const TitleBar = () => {
223223
t("checkingForUpdate")}
224224
{updaterState === "update-available" && t("updateAvailable")}
225225
{updaterState === "update-downloaded" && t("quitAndInstall")}
226-
{!updaterState ||
227-
(updaterState === "error" && t("checkUpdate"))}
226+
{(!updaterState || updaterState === "error") &&
227+
t("checkUpdate")}
228228
</span>
229229
</DropdownMenuItem>
230230
</DropdownMenuContent>

0 commit comments

Comments
 (0)