Skip to content

Commit d9fe94d

Browse files
authored
feat: reorder Tweets by slicing map
1 parent 58e02eb commit d9fe94d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/website/src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ function TweetsSection() {
529529
<div className={clsx('row', styles.tweetsSection)}>
530530
{/* Render tweets in groups of three */}
531531
<div className="col col--4">
532-
{userTweets.slice(0, 3).map((tweet, index) => (
532+
{userTweets.slice(0, 4).map((tweet, index) => (
533533
<Tweet
534534
key={index}
535535
url={tweet.url}
@@ -542,7 +542,7 @@ function TweetsSection() {
542542
))}
543543
</div>
544544
<div className="col col--4">
545-
{userTweets.slice(3, 6).map((tweet, index) => (
545+
{userTweets.slice(4, 7).map((tweet, index) => (
546546
<Tweet
547547
key={index}
548548
url={tweet.url}
@@ -555,7 +555,7 @@ function TweetsSection() {
555555
))}
556556
</div>
557557
<div className="col col--4">
558-
{userTweets.slice(6, 9).map((tweet, index) => (
558+
{userTweets.slice(7, 10).map((tweet, index) => (
559559
<Tweet
560560
key={index}
561561
url={tweet.url}

0 commit comments

Comments
 (0)