Skip to content

Commit

Permalink
chore: clean up entry row renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoung19 committed Oct 1, 2024
1 parent e347496 commit 6c312fc
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions popup/components/EntryList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,11 @@ const EntryRowRenderer = ({
index: number;
style: CSSProperties;
}) => {
const entry = data.entries[index]!;

return (
<Box style={style}>
<EntryRow
key={data.entries[index]!.id}
entry={data.entries[index]!}
selectedEntryIds={data.selectedEntryIds}
/>
<EntryRow key={entry.id} entry={entry} selectedEntryIds={data.selectedEntryIds} />
</Box>
);
};
Expand Down

0 comments on commit 6c312fc

Please sign in to comment.