Skip to content

Commit 0ac39fb

Browse files
DIYgodclaude
andcommitted
fix: remove remaining tags references from entry selectors
Follow-up to 9ea61db - these files were missed in the entry tags removal. Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 9ea61db commit 0ac39fb

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

apps/desktop/layer/renderer/src/modules/entry-column/Items/all-item.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ const ViewTag = IN_ELECTRON ? "webview" : "iframe"
3838

3939
const entrySelector = (state: EntryModel) => {
4040
/// keep-sorted
41-
const { authorAvatar, authorUrl, description, feedId, inboxHandle, publishedAt, tags, title } =
42-
state
41+
const { authorAvatar, authorUrl, description, feedId, inboxHandle, publishedAt, title } = state
4342

4443
const audios = state.attachments?.filter((a) => a.mime_type?.startsWith("audio") && a.url)
4544
const video = transformVideoUrl({
@@ -63,7 +62,6 @@ const entrySelector = (state: EntryModel) => {
6362
firstPhotoUrl,
6463
inboxId: inboxHandle,
6564
publishedAt,
66-
tags: tags ?? null,
6765
title,
6866
video,
6967
}

apps/desktop/layer/renderer/src/modules/entry-column/templates/list-item-template.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ import type { UniversalItemProps } from "../types"
2828

2929
const entrySelector = (state: EntryModel) => {
3030
/// keep-sorted
31-
const { authorAvatar, authorUrl, description, feedId, inboxHandle, publishedAt, tags, title } =
32-
state
31+
const { authorAvatar, authorUrl, description, feedId, inboxHandle, publishedAt, title } = state
3332

3433
const audios = state.attachments?.filter((a) => a.mime_type?.startsWith("audio") && a.url)
3534
const firstAudio = audios?.[0]
@@ -49,7 +48,6 @@ const entrySelector = (state: EntryModel) => {
4948
firstPhotoUrl,
5049
inboxId: inboxHandle,
5150
publishedAt,
52-
tags: tags ?? null,
5351
title,
5452
}
5553
}

0 commit comments

Comments
 (0)