Working database interactions and NUI callbacks

This commit is contained in:
erik-sn committed 2020-09-24 23:25:35 -04:00
1 parent 1e900baab9
commit ba0f122938
19 files changed
+372 -127

No files matched your search

@@ -0,0 +1,7 @@
import { useRecoilValue, useSetRecoilState } from "recoil";
import { twitterState } from "./state";
export const useTweets = () => {
const tweets = useRecoilValue(twitterState.tweets);
return { tweets };
};