working typescript version

This commit is contained in:
erik-sn committed 2020-10-07 12:19:55 -04:00
1 parent 581d6011e0
commit cff746aa38
119 files changed
+247 -189

No files matched your search

@@ -0,0 +1,17 @@
import React, { useEffect } from "react";
import Nui from "../../../../os/nui-events/utils/Nui";
import { useTweets } from "../../hooks/useTweets";
import TweetList from "./TweetList";
export function TweetListContainer() {
const { tweets } = useTweets();
useEffect(() => {
Nui.send("phone:fetchTweets", {});
}, []);
return <TweetList tweets={tweets} />;
}
export default TweetListContainer;