We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ad71aa commit 3280673Copy full SHA for 3280673
src/pages/index.tsx
@@ -12,7 +12,7 @@ import Header from "../components/HomePage/Header";
12
import Tweet from "../components/Tweet";
13
import Tweets, { type TweetItem } from "../data/tweets";
14
15
-function TweetsSection() {
+function TweetsSection(): React.JSX.Element {
16
const tweetColumns: TweetItem[][] = [[], [], []];
17
Tweets.filter((tweet) => tweet.showOnHomepage).forEach((tweet, i) =>
18
tweetColumns[i % 3]!.push(tweet)
@@ -43,7 +43,7 @@ function TweetsSection() {
43
);
44
}
45
46
-export default function Home(): JSX.Element {
+export default function Home(): React.JSX.Element {
47
const { siteConfig } = useDocusaurusContext();
48
return (
49
<Layout
0 commit comments