Handle missing sidebar PR cache in tests

Co-authored-by: Orca <help@stably.ai>
This commit is contained in:
brennanb2025
2026-06-25 11:30:13 -07:00
co-authored by Orca
parent ee71c3d33f
commit 1359242b78
@@ -430,7 +430,7 @@ const WorktreeCard = React.memo(function WorktreeCard({
const hostedReviewEntry = useAppStore((s) =>
hostedReviewCacheKey ? s.hostedReviewCache[hostedReviewCacheKey] : undefined
)
const prCacheEntry = useAppStore((s) => (prCacheKey ? s.prCache[prCacheKey] : undefined))
const prCacheEntry = useAppStore((s) => (prCacheKey ? s.prCache?.[prCacheKey] : undefined))
const issueEntry = useAppStore((s) => (issueCacheKey ? s.issueCache[issueCacheKey] : undefined))
const linearIssueEntry = useAppStore((s) =>
linearIssueCacheKey ? s.linearIssueCache[linearIssueCacheKey] : undefined