corrected state name, mismatched
This commit is contained in:
parent
ecebef71c1
commit
766f5d31bf
@ -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) => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user