Skip to content

Commit

Permalink
Merge pull request #146 from vtex-apps/fix/remove-profile-picture-upl…
Browse files Browse the repository at this point in the history
…oad-0x

Fix/remove profile picture upload 0x
  • Loading branch information
bivillar authored Jan 28, 2020
2 parents b970b5f + a1c59c0 commit de09b88
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 235 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.

## [0.30.1] - 2019-11-18

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

This file was deleted.

123 changes: 0 additions & 123 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,14 +4,14 @@ 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 PictureRenderer from './ProfilePicture/PictureRenderer'

const UserInfo: FunctionComponent<Props> = ({ profile }) => {
return (
<div className="vtex-account__user-info flex flex-wrap items-end mb7">
<div className="vtex-account__user-image 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 de09b88

Please sign in to comment.