diff --git a/src/hooks/useDirectory.js b/src/hooks/useDirectory.js index df352b98..0854d543 100644 --- a/src/hooks/useDirectory.js +++ b/src/hooks/useDirectory.js @@ -72,7 +72,7 @@ export const useBuckets = () => { }; export const useContactProfile = (id) => { - const [conatProfile, setContactProfile] = useState(null); + const [contactProfile, setContactProfile] = useState(null); const [loading, setLoading] = useState(false); const [Error, setError] = useState(""); @@ -105,7 +105,7 @@ export const useContactProfile = (id) => { } }, [id]); - return { conatProfile, loading, Error }; + return { contactProfile, loading, Error }; }; export const useContactNotes = (id, IsActive) => {