1
0
mirror of https://github.com/flarum/core.git synced 2025-10-24 05:06:05 +02:00

Run prettier for all JS files

This commit is contained in:
Franz Liedke
2020-04-17 11:57:55 +02:00
parent 84cf938379
commit 89ef14faf1
145 changed files with 2374 additions and 2050 deletions

View File

@@ -21,12 +21,12 @@ export default class ReplyPlaceholder extends Component {
<header className="Post-header">
<div className="PostUser">
<h3>
{avatar(app.session.user, {className: 'PostUser-avatar'})}
{avatar(app.session.user, { className: 'PostUser-avatar' })}
{username(app.session.user)}
</h3>
</div>
</header>
<div className="Post-body" config={this.configPreview.bind(this)}/>
<div className="Post-body" config={this.configPreview.bind(this)} />
</article>
);
}
@@ -38,8 +38,7 @@ export default class ReplyPlaceholder extends Component {
return (
<article className="Post ReplyPlaceholder" onclick={reply}>
<header className="Post-header">
{avatar(app.session.user, {className: 'PostUser-avatar'})}{' '}
{app.translator.trans('core.forum.post_stream.reply_placeholder')}
{avatar(app.session.user, { className: 'PostUser-avatar' })} {app.translator.trans('core.forum.post_stream.reply_placeholder')}
</header>
</article>
);