Skip to content

Commit 2b0c85b

Browse files
committed
Remove policy
1 parent 15b20e9 commit 2b0c85b

1 file changed

Lines changed: 0 additions & 34 deletions

File tree

src/screens/Signup/StepInfo/Policies.tsx

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -4,42 +4,11 @@ import {type ComAtprotoServerDescribeServer} from '@atproto/api'
44
import {msg, Trans} from '@lingui/macro'
55
import {useLingui} from '@lingui/react'
66

7-
import {webLinks} from '#/lib/constants'
8-
import {useGate} from '#/lib/statsig/statsig'
97
import {atoms as a, useTheme} from '#/alf'
108
import {Admonition} from '#/components/Admonition'
119
import {InlineLinkText} from '#/components/Link'
1210
import {Text} from '#/components/Typography'
1311

14-
function CommunityGuidelinesNotice({}: {}) {
15-
const {_} = useLingui()
16-
const gate = useGate()
17-
18-
if (gate('disable_onboarding_policy_update_notice')) return null
19-
20-
return (
21-
<View style={[a.pt_xs]}>
22-
<Admonition type="tip">
23-
<Trans>
24-
You also agree to{' '}
25-
<InlineLinkText
26-
label={_(msg`Bluesky's Community Guidelines`)}
27-
to={webLinks.communityDeprecated}>
28-
Bluesky’s Community Guidelines
29-
</InlineLinkText>
30-
. An{' '}
31-
<InlineLinkText
32-
label={_(msg`Bluesky's Updated Community Guidelines`)}
33-
to={webLinks.community}>
34-
updated version of our Community Guidelines
35-
</InlineLinkText>{' '}
36-
will take effect on October 15th.
37-
</Trans>
38-
</Admonition>
39-
</View>
40-
)
41-
}
42-
4312
export const Policies = ({
4413
serviceDescription,
4514
needsGuardian,
@@ -67,7 +36,6 @@ export const Policies = ({
6736
This service has not provided terms of service or a privacy policy.
6837
</Trans>
6938
</Admonition>
70-
<CommunityGuidelinesNotice />
7139
</View>
7240
)
7341
}
@@ -145,8 +113,6 @@ export const Policies = ({
145113
</Trans>
146114
</Admonition>
147115
) : undefined}
148-
149-
<CommunityGuidelinesNotice />
150116
</View>
151117
)
152118
}

0 commit comments

Comments
 (0)