import { atom } from "recoil"; export const twitterState = { profile: atom({ key: "profile", default: {}, }), tweets: atom({ key: "tweets", default: null, }), filteredTweets: atom({ key: "filteredTweets", default: null, }), showCreateTweetModal: atom({ key: "showCreateTweetModal", default: false, }), modalMessage: atom({ key: "modalMessage", default: "", }), createTweetLoading: atom({ key: "createTweetLoading", default: false, }), createTweetSuccessful: atom({ key: "createTweetSuccessful", default: null, }), updateProfileLoading: atom({ key: "updateProfileLoading", default: false, }), updateProfileSuccess: atom({ key: "updateProfileSuccess", default: null, }), notification: atom({ key: "notification", default: null, }) };