mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
29 lines
533 B
JavaScript
29 lines
533 B
JavaScript
import { atom } from "recoil";
|
|
|
|
export const twitterState = {
|
|
profile: atom({
|
|
key: "profile",
|
|
default: null,
|
|
}),
|
|
tweets: atom({
|
|
key: "tweets",
|
|
default: [],
|
|
}),
|
|
createTweetLoading: atom({
|
|
key: "createTweetLoading",
|
|
default: false,
|
|
}),
|
|
createTweetSuccess: atom({
|
|
key: "createTweetSuccess",
|
|
default: null,
|
|
}),
|
|
updateProfileLoading: atom({
|
|
key: "createTweetLoading",
|
|
default: false,
|
|
}),
|
|
updateProfileSuccess: atom({
|
|
key: "createTweetSuccess",
|
|
default: null,
|
|
}),
|
|
};
|