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

+40
View File
@@ -0,0 +1,40 @@
import { atom } from "recoil";
export const twitterState = {
profile: atom({
key: "profile",
default: null,
}),
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,
}),
};