mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
Working database interactions and NUI callbacks
This commit is contained in:
1 parent
1e900baab9
commit
ba0f122938
19 files changed
+372
-127
No files matched your search
@@ -8,6 +8,7 @@ import { AppContent } from "../../../ui/components/AppContent";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useApp } from "../../../os/apps/hooks/useApps";
|
||||
|
||||
import TweetList from "./TweetList";
|
||||
import AddTweetModal from "./AddTweetModal";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
@@ -26,7 +27,7 @@ const useStyles = makeStyles((theme) => ({
|
||||
}));
|
||||
|
||||
export const TwitterApp = () => {
|
||||
const [modalVisible, setModalVisible] = useState(true);
|
||||
const [modalVisible, setModalVisible] = useState(false);
|
||||
const { t } = useTranslation();
|
||||
const classes = useStyles();
|
||||
const twitter = useApp("TWITTER");
|
||||
@@ -46,6 +47,7 @@ export const TwitterApp = () => {
|
||||
</Button>
|
||||
<AppContent>
|
||||
<AddTweetModal visible={modalVisible} handleClose={hideModal} />
|
||||
<TweetList />
|
||||
</AppContent>
|
||||
</AppWrapper>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user