refactor(desktop): remove debug logging from handleClick in EntryItemWrapper
- Commented out console logging in the handleClick function to clean up the code and reduce unnecessary output during click events. - This change maintains the functionality while improving the overall readability of the code. Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
@@ -88,14 +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,
|
||||
)
|
||||
// console.info(
|
||||
// "handleClick",
|
||||
// e,
|
||||
// getRouteParams().entryId,
|
||||
// entry?.id,
|
||||
// shouldNavigate,
|
||||
// entry?.feedId,
|
||||
// )
|
||||
if (!shouldNavigate) return
|
||||
if (!entry?.feedId) return
|
||||
if (!asRead) {
|
||||
|
||||
Reference in New Issue
Block a user