corrected state name, mismatched

This commit is contained in:
Pramod Mahajan 2025-05-29 10:12:56 +05:30
parent ecebef71c1
commit 766f5d31bf

View File

@ -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) => {