diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-26 02:13:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-25 16:13:54 -0700 |
commit | e8cd7ab131720ebc37093c599573f032b51f3218 (patch) | |
tree | 26682cd31d5c3c16726d94c15f880401d17b6517 /src/screens/Signup/StepHandle/index.tsx | |
parent | f3905c574bc85d17cdc53e2b57d58ccc0bdcdf4e (diff) | |
download | voidsky-e8cd7ab131720ebc37093c599573f032b51f3218.tar.zst |
Remove handle suggestion gate (#8899)
* remove handle suggestion gate * rm from list of gates
Diffstat (limited to 'src/screens/Signup/StepHandle/index.tsx')
-rw-r--r-- | src/screens/Signup/StepHandle/index.tsx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/screens/Signup/StepHandle/index.tsx b/src/screens/Signup/StepHandle/index.tsx index aaab435ae..5bf6b2269 100644 --- a/src/screens/Signup/StepHandle/index.tsx +++ b/src/screens/Signup/StepHandle/index.tsx @@ -9,7 +9,6 @@ import Animated, { import {msg, Plural, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {useGate} from '#/lib/statsig/statsig' import { createFullHandle, MAX_SERVICE_HANDLE_LENGTH, @@ -28,14 +27,12 @@ import {useThrottledValue} from '#/components/hooks/useThrottledValue' import {At_Stroke2_Corner0_Rounded as AtIcon} from '#/components/icons/At' import {Check_Stroke2_Corner0_Rounded as CheckIcon} from '#/components/icons/Check' import {Text} from '#/components/Typography' -import {IS_INTERNAL} from '#/env' import {BackNextButtons} from '../BackNextButtons' import {HandleSuggestions} from './HandleSuggestions' export function StepHandle() { const {_} = useLingui() const t = useTheme() - const gate = useGate() const {state, dispatch} = useSignupContext() const [draftValue, setDraftValue] = useState(state.handle) const isNextLoading = useThrottledValue(state.isLoading, 500) @@ -193,8 +190,7 @@ export function StepHandle() { </RequirementText> </Requirement> {isHandleAvailable.suggestions && - isHandleAvailable.suggestions.length > 0 && - (gate('handle_suggestions') || IS_INTERNAL) && ( + isHandleAvailable.suggestions.length > 0 && ( <HandleSuggestions suggestions={isHandleAvailable.suggestions} onSelect={suggestion => { |