Skip to content

Commit e243d40

Browse files
committed
Use HOSTED_APP_CHANNEL_LABEL constant instead of inline derivation
1 parent f1e0c30 commit e243d40

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

apps/web/src/components/settings/SettingsPanels.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { scopeThreadRef } from "@t3tools/client-runtime";
1313
import { DEFAULT_UNIFIED_SETTINGS } from "@t3tools/contracts/settings";
1414
import { createModelSelection } from "@t3tools/shared/model";
1515
import { Equal } from "effect";
16-
import { APP_VERSION, HOSTED_APP_CHANNEL } from "../../branding";
16+
import { APP_VERSION, HOSTED_APP_CHANNEL, HOSTED_APP_CHANNEL_LABEL } from "../../branding";
1717
import {
1818
canCheckForUpdate,
1919
getDesktopUpdateButtonTooltip,
@@ -356,9 +356,7 @@ function AboutVersionSection() {
356356
}}
357357
>
358358
<SelectTrigger className="w-full sm:w-40" aria-label="Update track">
359-
<SelectValue>
360-
{selectedHostedAppChannel === "nightly" ? "Nightly" : "Latest"}
361-
</SelectValue>
359+
<SelectValue>{HOSTED_APP_CHANNEL_LABEL}</SelectValue>
362360
</SelectTrigger>
363361
<SelectPopup align="end" alignItemWithTrigger={false}>
364362
<SelectItem hideIndicator value="latest">

0 commit comments

Comments
 (0)