This commit is contained in:
Belen Curcio
2017-07-10 17:00:01 -03:00
parent f09550a4ac
commit 2c7f5ca089
3 changed files with 4 additions and 5 deletions
@@ -3,6 +3,6 @@ import styles from './styles.css';
import avatarPlaceholder from '../assets/avatar-placeholder.png';
const UserAvatar = ({comment: {user}}) =>
<img src={!user.avatar ? avatarPlaceholder : user.avatar} className={styles.avatarPlaceholder} />
<img src={!user.avatar ? avatarPlaceholder : user.avatar} className={styles.avatarPlaceholder} />;
export default UserAvatar;
+1 -1
View File
@@ -4,4 +4,4 @@ export default {
slots: {
commentAvatar: [UserAvatar]
}
}
};
+2 -3
View File
@@ -47,7 +47,6 @@ module.exports = {
// ...
// }
// Extract the data from the payload.
let {
id,
@@ -69,7 +68,7 @@ module.exports = {
// Respond with a `202 Accepted` to indicate that we were able to process
// the update.
res.status(202).end()
res.status(202).end();
});
}
};
};