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