mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working typescript version
This commit is contained in:
1 parent
581d6011e0
commit
cff746aa38
119 files changed
+247
-189
No files matched your search
@@ -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,
|
||||
}),
|
||||
};
|
||||
Reference in new issue
Block a user