mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
8 lines
212 B
JavaScript
8 lines
212 B
JavaScript
import { useRecoilValue, useSetRecoilState } from "recoil";
|
|
import { twitterState } from "./state";
|
|
|
|
export const useTweets = () => {
|
|
const tweets = useRecoilValue(twitterState.tweets);
|
|
return { tweets };
|
|
};
|