diff --git a/public/react/src/modules/user/account/AccountImg.js b/public/react/src/modules/user/account/AccountImg.js index fdb4bedb9..12dfb9d29 100644 --- a/public/react/src/modules/user/account/AccountImg.js +++ b/public/react/src/modules/user/account/AccountImg.js @@ -1,12 +1,16 @@ import React, { Component } from 'react'; import { SnackbarHOC, getImageUrl } from 'educoder'; - +import ChangeHeaderPicModal from './ChangeHeaderPicModal' class AccountNav extends Component { + editImg = () => { + this.refs['picModal'].setVisible(true) + } render() { // newMain clearfix return (