Skip to content

Commit

Permalink
Merge pull request #48 from WesleyjanLacerda/patch-4
Browse files Browse the repository at this point in the history
Visualização maior do contato
  • Loading branch information
rtenorioh authored Oct 8, 2022
2 parents 724e55c + ced2365 commit 024f916
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions frontend/src/components/ContactDrawer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import CloseIcon from "@material-ui/icons/Close";
import Drawer from "@material-ui/core/Drawer";
import Link from "@material-ui/core/Link";
import InputLabel from "@material-ui/core/InputLabel";
import Avatar from "@material-ui/core/Avatar";
//import Avatar from "@material-ui/core/Avatar";
import Button from "@material-ui/core/Button";
import Paper from "@material-ui/core/Paper";

Expand All @@ -17,6 +17,7 @@ import ContactModal from "../ContactModal";
import ContactDrawerSkeleton from "../ContactDrawerSkeleton";
import MarkdownWrapper from "../MarkdownWrapper";
import { TagsContainer } from "../TagsContainer";
import ModalImageContatc from "./ModalImage";

const drawerWidth = 320;

Expand Down Expand Up @@ -119,11 +120,7 @@ const ContactDrawer = ({ open, handleDrawerClose, contact, loading }) => {
) : (
<div className={classes.content}>
<Paper square variant="outlined" className={classes.contactHeader}>
<Avatar
alt={contact.name}
src={contact.profilePicUrl}
className={classes.contactAvatar}
></Avatar>
<ModalImageContatc imageUrl={contact.profilePicUrl}/>
<Typography>{contact.name}</Typography>
<Typography>
<Link href={`tel:${contact.number}`}>{contact.number}</Link>
Expand Down

0 comments on commit 024f916

Please sign in to comment.