feat(desktop): add debug logging in EntryItemWrapper for click handling

- Introduced console logging in the handleClick function to track navigation decisions and entry details.
- This addition aids in debugging navigation logic by providing insights into the entryId and feedId during click events.

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-06-23 19:15:37 +08:00
parent 8ed0a6897f
commit 8102400404
@@ -88,6 +88,14 @@ export const EntryItemWrapper: FC<
e.stopPropagation()
const shouldNavigate = getRouteParams().entryId !== entry?.id
console.info(
"handleClick",
e,
getRouteParams().entryId,
entry?.id,
shouldNavigate,
entry?.feedId,
)
if (!shouldNavigate) return
if (!entry?.feedId) return
if (!asRead) {