about summary refs log tree commit diff
path: root/src/screens/Onboarding/StepAlgoFeeds/index.tsx
diff options
context:
space:
mode:
authorEric Bailey <git@esb.lol>2024-01-30 21:06:58 -0600
committerGitHub <noreply@github.com>2024-01-30 19:06:58 -0800
commit42fe0e160975a0f4984f3350edb5c86aeddf077c (patch)
tree634e4c3780ffb1a1483133a9f7a074d3dcaa0222 /src/screens/Onboarding/StepAlgoFeeds/index.tsx
parent2b0f92c7e05f86e7f4c8588e2e6ddf61369b8d6c (diff)
downloadvoidsky-42fe0e160975a0f4984f3350edb5c86aeddf077c.tar.zst
Handle onboarding in non-prod envs (#2698)
Diffstat (limited to 'src/screens/Onboarding/StepAlgoFeeds/index.tsx')
-rw-r--r--src/screens/Onboarding/StepAlgoFeeds/index.tsx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screens/Onboarding/StepAlgoFeeds/index.tsx b/src/screens/Onboarding/StepAlgoFeeds/index.tsx
index d576026e1..61c38b6a8 100644
--- a/src/screens/Onboarding/StepAlgoFeeds/index.tsx
+++ b/src/screens/Onboarding/StepAlgoFeeds/index.tsx
@@ -3,6 +3,7 @@ import {View} from 'react-native'
 import {useLingui} from '@lingui/react'
 import {msg, Trans} from '@lingui/macro'
 
+import {IS_PROD} from '#/env'
 import {atoms as a, tokens, useTheme} from '#/alf'
 import {ChevronRight_Stroke2_Corner0_Rounded as ChevronRight} from '#/components/icons/Chevron'
 import {Button, ButtonIcon, ButtonText} from '#/components/Button'
@@ -29,7 +30,7 @@ export type FeedConfig = {
 
 const PRIMARY_FEEDS: FeedConfig[] = [
   {
-    default: true,
+    default: IS_PROD, // these feeds are only available in prod
     uri: 'at://did:plc:wqowuobffl66jv3kpsvo7ak4/app.bsky.feed.generator/the-algorithm',
     gradient: tokens.gradients.midnight,
   },