Onboarding tweaks (#3447)

* Remove feed

* Follow bsky.app
This commit is contained in:
Eric Bailey 2024-04-08 14:32:00 -05:00 committed by GitHub
parent 6d3f9397f4
commit 2bc20b1752
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 17 deletions

View file

@ -4,6 +4,7 @@ import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {useAnalytics} from '#/lib/analytics/analytics'
import {BSKY_APP_ACCOUNT_DID} from '#/lib/constants'
import {logEvent} from '#/lib/statsig/statsig'
import {logger} from '#/logger'
import {useSetSaveFeedsMutation} from '#/state/queries/preferences'
@ -55,7 +56,9 @@ export function StepFinished() {
try {
await Promise.all([
bulkWriteFollows(suggestedAccountsStepResults.accountDids),
bulkWriteFollows(
suggestedAccountsStepResults.accountDids.concat(BSKY_APP_ACCOUNT_DID),
),
// these must be serial
(async () => {
await getAgent().setInterestsPref({tags: selectedInterests})