Fix feed feedback (#4730)
This commit is contained in:
parent
4f02da96c8
commit
12bf796293
2 changed files with 13 additions and 7 deletions
|
@ -156,6 +156,14 @@ const interstials: Record<
|
|||
],
|
||||
}
|
||||
|
||||
export function getFeedPostSlice(feedItem: FeedItem): FeedPostSlice | null {
|
||||
if (feedItem.type === 'slice') {
|
||||
return feedItem.slice
|
||||
} else {
|
||||
return null
|
||||
}
|
||||
}
|
||||
|
||||
// DISABLED need to check if this is causing random feed refreshes -prf
|
||||
// const REFRESH_AFTER = STALE.HOURS.ONE
|
||||
const CHECK_LATEST_AFTER = STALE.SECONDS.THIRTY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue