Change constant name
This commit is contained in:
@@ -5,7 +5,7 @@ import {AppBskyEmbedVideo, AppBskyFeedDefs, AppBskyFeedPost} from '@atproto/api'
|
||||
import {msg} from '@lingui/macro'
|
||||
import {useLingui} from '@lingui/react'
|
||||
|
||||
import {VIBES_FEED_URI} from '#/lib/constants'
|
||||
import {VIDEO_FEED_URI} from '#/lib/constants'
|
||||
import {sanitizeHandle} from '#/lib/strings/handles'
|
||||
import {formatCount} from '#/view/com/util/numeric/format'
|
||||
import {PreviewableUserAvatar} from '#/view/com/util/UserAvatar'
|
||||
@@ -21,7 +21,7 @@ import {Text} from '#/components/Typography'
|
||||
|
||||
export function VideoPostCard({
|
||||
post,
|
||||
sourceFeedUri = VIBES_FEED_URI,
|
||||
sourceFeedUri = VIDEO_FEED_URI,
|
||||
}: {
|
||||
post: AppBskyFeedDefs.PostView
|
||||
sourceFeedUri?: string
|
||||
|
||||
@@ -109,7 +109,7 @@ export const BSKY_FEED_OWNER_DIDS = [
|
||||
|
||||
export const DISCOVER_FEED_URI =
|
||||
'at://did:plc:z72i7hdynmk6r22z27h6tvur/app.bsky.feed.generator/whats-hot'
|
||||
export const VIBES_FEED_URI =
|
||||
export const VIDEO_FEED_URI =
|
||||
'at://did:plc:yofh3kx63drvfljkibw5zuxo/app.bsky.feed.generator/thevids'
|
||||
export const DISCOVER_SAVED_FEED = {
|
||||
type: 'feed',
|
||||
|
||||
@@ -17,7 +17,7 @@ import {useQueryClient} from '@tanstack/react-query'
|
||||
import {
|
||||
DISCOVER_FEED_URI,
|
||||
KNOWN_SHUTDOWN_FEEDS,
|
||||
VIBES_FEED_URI,
|
||||
VIDEO_FEED_URI,
|
||||
} from '#/lib/constants'
|
||||
import {useInitialNumToRender} from '#/lib/hooks/useInitialNumToRender'
|
||||
import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
|
||||
@@ -287,7 +287,7 @@ let PostFeed = ({
|
||||
feedKind = 'following'
|
||||
} else if (feedUri === DISCOVER_FEED_URI) {
|
||||
feedKind = 'discover'
|
||||
} else if (feedUri === VIBES_FEED_URI) {
|
||||
} else if (feedUri === VIDEO_FEED_URI) {
|
||||
feedKind = 'thevids'
|
||||
} else if (
|
||||
feedType === 'author' &&
|
||||
|
||||
Reference in New Issue
Block a user