File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import { FeedIcon } from "@/src/components/ui/icon/feed-icon"
99import { gentleSpringPreset } from "@/src/constants/spring"
1010import { useEntry } from "@/src/store/entry/hooks"
1111import { useFeed } from "@/src/store/feed/hooks"
12- import { useEntryTranslation , usePrefetchEntryTranslation } from "@/src/store/translation/hooks"
12+ import { useEntryTranslation } from "@/src/store/translation/hooks"
1313
1414import { useEntryListContextView } from "../entry-list/EntryListContext"
1515import { EntryTranslation } from "../entry-list/templates/EntryTranslation"
@@ -22,7 +22,7 @@ export const EntryGridFooter = ({
2222 descriptionClassName ?: string
2323} ) => {
2424 const entry = useEntry ( entryId )
25- usePrefetchEntryTranslation ( entryId )
25+
2626 const translation = useEntryTranslation ( entryId )
2727 const feed = useFeed ( entry ?. feedId || "" )
2828 const view = useEntryListContextView ( )
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ import { EntryDetailScreen } from "@/src/screens/(stack)/entries/[entryId]"
2424import { useEntry } from "@/src/store/entry/hooks"
2525import { getInboxFrom } from "@/src/store/entry/utils"
2626import { useFeed } from "@/src/store/feed/hooks"
27- import { useEntryTranslation , usePrefetchEntryTranslation } from "@/src/store/translation/hooks"
27+ import { useEntryTranslation } from "@/src/store/translation/hooks"
2828
2929import { EntryItemContextMenu } from "../../context-menu/entry"
3030import { EntryItemSkeleton } from "../EntryListContentArticle"
@@ -33,7 +33,6 @@ import { EntryTranslation } from "./EntryTranslation"
3333
3434export function EntryNormalItem ( { entryId, extraData } : { entryId : string ; extraData : string } ) {
3535 const entry = useEntry ( entryId )
36- usePrefetchEntryTranslation ( entryId )
3736 const translation = useEntryTranslation ( entryId )
3837 const from = getInboxFrom ( entry )
3938 const feed = useFeed ( entry ?. feedId as string )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ import { EntryDetailScreen } from "@/src/screens/(stack)/entries/[entryId]"
1919import { FeedScreen } from "@/src/screens/(stack)/feeds/[feedId]"
2020import { useEntry } from "@/src/store/entry/hooks"
2121import { useFeed } from "@/src/store/feed/hooks"
22- import { useEntryTranslation , usePrefetchEntryTranslation } from "@/src/store/translation/hooks"
22+ import { useEntryTranslation } from "@/src/store/translation/hooks"
2323import { unreadSyncService } from "@/src/store/unread/store"
2424
2525import { EntryItemContextMenu } from "../../context-menu/entry"
@@ -28,7 +28,6 @@ import { EntryTranslation } from "./EntryTranslation"
2828
2929export function EntrySocialItem ( { entryId } : { entryId : string } ) {
3030 const entry = useEntry ( entryId )
31- usePrefetchEntryTranslation ( entryId )
3231 const translation = useEntryTranslation ( entryId )
3332
3433 const feed = useFeed ( entry ?. feedId || "" )
You can’t perform that action at this time.
0 commit comments