styling: Enforced styling across all files (#55)

This commit is contained in:
Taso authored and GitHub committed 2021-01-12 21:31:03 -05:00
1 parent c9b3174505
commit 54daa42454
165 files changed
+1879 -1725

No files matched your search

@@ -1,7 +1,9 @@
import { useRecoilState } from 'recoil';
import { contactsState } from './state';
export const useContactDetail = (): any => {
const [ contactDetail, setContactDetail ] = useRecoilState(contactsState.contactDetail);
const [contactDetail, setContactDetail] = useRecoilState(
contactsState.contactDetail
);
return { contactDetail, setContactDetail };
}
};
@@ -2,6 +2,8 @@ import { useRecoilState } from 'recoil';
import { contactsState } from './state';
export const useContactModal = () => {
const [ showContactModal, setShowContactModal ] = useRecoilState(contactsState.showContactsModal);
const [showContactModal, setShowContactModal] = useRecoilState(
contactsState.showContactsModal
);
return { showContactModal, setShowContactModal };
}
};
+3 -3
View File
@@ -1,11 +1,11 @@
import { useRecoilValue } from "recoil";
import { contactsState } from "./state";
import { useRecoilValue } from 'recoil';
import { contactsState } from './state';
interface Contact {
id: string;
display: string;
number: string;
avatar?: string
avatar?: string;
}
interface IUseContacts {
@@ -1,5 +1,5 @@
import { useRecoilState } from "recoil";
import { contactsState } from "./state";
import { useRecoilState } from 'recoil';
import { contactsState } from './state';
export const useFilteredContacts = () => {
const [filteredContacts, setFilteredContacts] = useRecoilState(
+2 -2
View File
@@ -1,5 +1,5 @@
import { useRecoilState } from "recoil";
import { contactsState } from "./state";
import { useRecoilState } from 'recoil';
import { contactsState } from './state';
export const useModal = () => {
const [showModal, setShowModal] = useRecoilState(contactsState.showModal);