Skip to content

Commit

Permalink
Remove fake feeds
Browse files Browse the repository at this point in the history
  • Loading branch information
angristan committed Dec 20, 2024
1 parent 366c636 commit 24146e8
Showing 1 changed file with 13 additions and 15 deletions.
28 changes: 13 additions & 15 deletions resources/js/Pages/Feeds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -302,21 +302,19 @@ const Feeds = ({
</UnstyledButton>
));

const feedLinks = Array.from({ length: 30 }, () => feeds)
.flat()
.map((feed) => (
<a
href="#"
onClick={(event) => event.preventDefault()}
key={feed.name}
className={classes.collectionLink}
>
<div style={{ display: 'flex', alignItems: 'center' }}>
<Image src={feed.favicon_url} w={20} h={20} mr={9} />
<span>{feed.name}</span>
</div>
</a>
));
const feedLinks = feeds.map((feed) => (
<a
href="#"
onClick={(event) => event.preventDefault()}
key={feed.id}
className={classes.collectionLink}
>
<div style={{ display: 'flex', alignItems: 'center' }}>
<Image src={feed.favicon_url} w={20} h={20} mr={9} />
<span>{feed.name}</span>
</div>
</a>
));

const [opened, { toggle }] = useDisclosure();

Expand Down

0 comments on commit 24146e8

Please sign in to comment.