diff options
author | Hailey <me@haileyok.com> | 2024-02-19 13:30:25 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-19 13:30:25 -0800 |
commit | 5573c38c4dcf05489ff64abcf0017f7b65f18fee (patch) | |
tree | becd8f06f26ffe0e3d3d6d894da75aa040480118 /src/view/com/auth/server-input | |
parent | 943acd16aac187ed4eb5f9cea67d6c507aab1ab5 (diff) | |
download | voidsky-5573c38c4dcf05489ff64abcf0017f7b65f18fee.tar.zst |
Update IS_PROD check (#2930)
* update is_prod check * remove unused constants * rename `IS_PROD` function to `IS_PROD_SERVICE`
Diffstat (limited to 'src/view/com/auth/server-input')
-rw-r--r-- | src/view/com/auth/server-input/index.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/com/auth/server-input/index.tsx b/src/view/com/auth/server-input/index.tsx index a70621973..32b5a3141 100644 --- a/src/view/com/auth/server-input/index.tsx +++ b/src/view/com/auth/server-input/index.tsx @@ -2,7 +2,7 @@ import React from 'react' import {View} from 'react-native' import {useLingui} from '@lingui/react' import {Trans, msg} from '@lingui/macro' -import {PROD_SERVICE} from 'lib/constants' +import {BSKY_SERVICE} from 'lib/constants' import * as persisted from '#/state/persisted' import {atoms as a, useBreakpoints, useTheme} from '#/alf' @@ -26,7 +26,7 @@ export function ServerInputDialog({ const [pdsAddressHistory, setPdsAddressHistory] = React.useState<string[]>( persisted.get('pdsAddressHistory') || [], ) - const [fixedOption, setFixedOption] = React.useState([PROD_SERVICE]) + const [fixedOption, setFixedOption] = React.useState([BSKY_SERVICE]) const [customAddress, setCustomAddress] = React.useState('') const onClose = React.useCallback(() => { @@ -86,7 +86,7 @@ export function ServerInputDialog({ label="Preferences" values={fixedOption} onChange={setFixedOption}> - <ToggleButton.Button name={PROD_SERVICE} label={_(msg`Bluesky`)}> + <ToggleButton.Button name={BSKY_SERVICE} label={_(msg`Bluesky`)}> {_(msg`Bluesky`)} </ToggleButton.Button> <ToggleButton.Button |