Skip to content

Commit

Permalink
Merge pull request #145 from vtex-apps/fix/remove-profile-picture-upload
Browse files Browse the repository at this point in the history
Remove profile picture upload
  • Loading branch information
bivillar authored Jan 28, 2020
2 parents ac12bef + 40bb3a2 commit b269f9b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 243 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

### Removed

- Profile picture upload.

## [1.11.4] - 2020-01-03

### Changed
Expand Down
54 changes: 0 additions & 54 deletions react/components/Menu/ProfilePicture/BaseDropzone.tsx

This file was deleted.

131 changes: 0 additions & 131 deletions react/components/Menu/ProfilePicture/PictureUploader.tsx

This file was deleted.

50 changes: 0 additions & 50 deletions react/components/Menu/ProfilePicture/UserPicture.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions react/components/Menu/UserInfo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ import { compose, branch, withProps, renderComponent } from 'recompose'
import { FormattedMessage } from 'react-intl'

import GetGreeting from '../../graphql/getGreeting.gql'
import UserPicture from './ProfilePicture/UserPicture'
import UserInfoLoading from './UserInfoLoading'
import styles from '../../styles.css'
import PictureRenderer from './ProfilePicture/PictureRenderer'

const UserInfo: FunctionComponent<Props> = ({ profile }) => {
return (
<div className={`${styles.userInfo} flex flex-wrap items-end mb7`}>
<div className={`${styles.userImage} relative mr5 h3 w3`}>
<UserPicture imagePath={profile.profilePicture} />
<PictureRenderer imagePath={profile.profilePicture} />
</div>
{profile.firstName ? (
<div>
Expand Down
6 changes: 0 additions & 6 deletions react/graphql/updateProfilePicture.gql

This file was deleted.

0 comments on commit b269f9b

Please sign in to comment.