Skip to content

Commit 3280673

Browse files
committed
resolving issues
1 parent 0ad71aa commit 3280673

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/pages/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Header from "../components/HomePage/Header";
1212
import Tweet from "../components/Tweet";
1313
import Tweets, { type TweetItem } from "../data/tweets";
1414

15-
function TweetsSection() {
15+
function TweetsSection(): React.JSX.Element {
1616
const tweetColumns: TweetItem[][] = [[], [], []];
1717
Tweets.filter((tweet) => tweet.showOnHomepage).forEach((tweet, i) =>
1818
tweetColumns[i % 3]!.push(tweet)
@@ -43,7 +43,7 @@ function TweetsSection() {
4343
);
4444
}
4545

46-
export default function Home(): JSX.Element {
46+
export default function Home(): React.JSX.Element {
4747
const { siteConfig } = useDocusaurusContext();
4848
return (
4949
<Layout

0 commit comments

Comments
 (0)