pramod_Task-#399 : Added Access Permission For 'Directory User' Role #160
@ -72,7 +72,7 @@ export const useBuckets = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const useContactProfile = (id) => {
|
export const useContactProfile = (id) => {
|
||||||
const [conatProfile, setContactProfile] = useState(null);
|
const [contactProfile, setContactProfile] = useState(null);
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const [Error, setError] = useState("");
|
const [Error, setError] = useState("");
|
||||||
|
|
||||||
@ -105,7 +105,7 @@ export const useContactProfile = (id) => {
|
|||||||
}
|
}
|
||||||
}, [id]);
|
}, [id]);
|
||||||
|
|
||||||
return { conatProfile, loading, Error };
|
return { contactProfile, loading, Error };
|
||||||
};
|
};
|
||||||
|
|
||||||
export const useContactNotes = (id, IsActive) => {
|
export const useContactNotes = (id, IsActive) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user