@ -14,7 +14,6 @@ interface IProps {
}
export const ProfileMain: FC<IProps> = ({ isUpdate, profile, authProfile }) => {
console.log("profile", profile.info.avatarUrl);
return (
<>
<Col md={12} lg={12} xl={12}>
@ -17,7 +17,11 @@ export const ProfileDetail: FC = () => {
<Row>
<Col md={12} lg={12} xl={4}>
<ProfileMain isUpdate={isUpdated} profile={profile} />
<ProfileMain
isUpdate={isUpdated}
profile={profile}
authProfile={profile}
/>
</Row>
</Col>
@ -17,7 +17,6 @@ export const UserDetail: FC<IProps> = ({ match: { params: id } }) => {
const contactId = parseInt(id.id);
const { contactInfo } = useContact(contactId);
console.log(contactInfo);
const isUpdated = getPermissionCheck("user", "update", profile);