mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
working typescript compiling and fixing linting issues
This commit is contained in:
1 parent
b1babd88c2
commit
3273d192c9
49 files changed
+271
-110
No files matched your search
@@ -1,4 +1,4 @@
|
||||
import React, { useState } from "react";
|
||||
import React from "react";
|
||||
import ListItemText from "@material-ui/core/ListItemText";
|
||||
import { Button } from "@material-ui/core";
|
||||
|
||||
@@ -13,7 +13,6 @@ import Nui from "../../../os/nui-events/utils/Nui";
|
||||
|
||||
export const ContactList = () => {
|
||||
const contacts = useContacts();
|
||||
const [call, setCall] = useState("");
|
||||
|
||||
const startCall = (number) => {
|
||||
console.log(number);
|
||||
|
||||
@@ -30,7 +30,7 @@ const useStyles = makeStyles((theme) => ({
|
||||
},
|
||||
}));
|
||||
|
||||
export const AddContactModal = ({ handleClose, show, children }) => {
|
||||
export const AddContactModal = ({ handleClose, show }) => {
|
||||
const [name, setName] = useState("");
|
||||
const [number, setNumber] = useState("");
|
||||
const classes = useStyles();
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import React, { useState } from "react";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import { AppWrapper } from "../../../ui/components";
|
||||
import { AppTitle } from "../../../ui/components/AppTitle";
|
||||
import { AppContent } from "../../../ui/components/AppContent";
|
||||
@@ -9,20 +8,8 @@ import AddCircleIcon from "@material-ui/icons/AddCircle";
|
||||
import { AddContactModal } from "./ContactModal";
|
||||
import { Button } from "@material-ui/core";
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
modalOpener: {
|
||||
backgroundColor: "red",
|
||||
height: 50,
|
||||
position: "fixed",
|
||||
display: "flex",
|
||||
justifyContent: "center",
|
||||
alignItems: "center",
|
||||
},
|
||||
}));
|
||||
|
||||
export const ContactsApp = () => {
|
||||
const [modal, setModal] = useState(false);
|
||||
const classes = useStyles();
|
||||
const contacts = useApp("CONTACTS");
|
||||
|
||||
const openModal = () => {
|
||||
|
||||
Reference in new issue
Block a user