We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isActive
1 parent 639b922 commit 76fc17eCopy full SHA for 76fc17e
apps/renderer/src/modules/entry-column/layouts/EntryItemWrapper.tsx
@@ -35,7 +35,10 @@ export const EntryItemWrapper: FC<
35
36
const { t } = useTranslation("common")
37
38
- const isActive = useRouteParamsSelector(({ entryId }) => entryId === entry.entries.id)
+ const isActive = useRouteParamsSelector(
39
+ ({ entryId }) => entryId === entry.entries.id,
40
+ [entry.entries.id],
41
+ )
42
43
const asRead = useAsRead(entry)
44
const hoverMarkUnread = useGeneralSettingKey("hoverMarkUnread")
0 commit comments