chore(harness): drop dead selectedFeedId read

This commit is contained in:
2026-09-03 08:33:50 -04:00
parent 9143078b12
commit 9e2f232d27

View File

@@ -595,9 +595,7 @@ async function snapshotState(audioControls: any): Promise<Record<string, unknown
const feeds = fs_.feeds ? fs_.feeds() : []; const feeds = fs_.feeds ? fs_.feeds() : [];
state.feed = { state.feed = {
count: feeds?.length ?? 0, count: feeds?.length ?? 0,
sel: fs_.selectedFeedId ? fs_.selectedFeedId() : null,
loading: fs_.isLoadingFeeds ? fs_.isLoadingFeeds() : null, loading: fs_.isLoadingFeeds ? fs_.isLoadingFeeds() : null,
titles: (feeds ?? []).slice(0, 8).map((f: any) => f?.podcast?.title),
}; };
} catch (e) { } catch (e) {
state.feed = "ERR: " + String(e); state.feed = "ERR: " + String(e);