mirror of
https://github.com/wassname/talk.git
synced 2026-07-25 13:30:59 +08:00
linting
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -4,4 +4,4 @@ export default {
|
||||
slots: {
|
||||
commentAvatar: [UserAvatar]
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user