mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 14:38:45 +00:00
add configuration if we should generate profile_name from users
This commit is contained in:
1 parent
7eedec2229
commit
44622b8d8a
5 files changed
+64
-21
No files matched your search
@@ -17,6 +17,7 @@ import TwitterSearch from "./TwitterSearch";
|
||||
|
||||
import "./twitter.css";
|
||||
import "emoji-mart/css/emoji-mart.css";
|
||||
import { useProfile } from "../hooks/useProfile";
|
||||
|
||||
const useStyles = makeStyles(() => ({
|
||||
backgroundModal: {
|
||||
@@ -37,6 +38,9 @@ export const TwitterApp = () => {
|
||||
const classes = useStyles();
|
||||
const { modalVisible, setModalVisible } = useModal();
|
||||
const [activePage, setActivePage] = useState(0);
|
||||
const { profile } = useProfile();
|
||||
|
||||
console.log(profile);
|
||||
|
||||
useEffect(() => {
|
||||
Nui.send("phone:getOrCreateTwitterProfile", {});
|
||||
|
||||
Reference in new issue
Block a user