Skip to content

Commit

Permalink
feat: update text
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Jun 3, 2024
1 parent 8b55c21 commit 90da543
Showing 1 changed file with 12 additions and 15 deletions.
27 changes: 12 additions & 15 deletions src/renderer/src/components/entry-column/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ const ListHeader: FC = () => {
<div className="text-xs font-medium text-zinc-400">
{entries.data?.pages?.[0].total}
{" "}
{unreadOnly ? "Unread" : ""}
{" "}
Items
</div>
</div>
Expand Down Expand Up @@ -239,18 +241,13 @@ const ListHeader: FC = () => {
)
}

const ListContent = forwardRef<HTMLDivElement>((props, ref) => {
const activeList = useFeedStore(useShallow((state) => state.activeList))

return (
<m.div
key={`${activeList?.level}-${activeList?.id}`}
initial={{ opacity: 0.01, y: 100 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0.01, y: -100 }}
className="px-2"
{...props}
ref={ref}
/>
)
})
const ListContent = forwardRef<HTMLDivElement>((props, ref) => (
<m.div
initial={{ opacity: 0.01, y: 100 }}
animate={{ opacity: 1, y: 0 }}
exit={{ opacity: 0.01, y: -100 }}
className="px-2"
{...props}
ref={ref}
/>
))

0 comments on commit 90da543

Please sign in to comment.