Skip to content

Commit

Permalink
chore: major frontend JS cleanup (#3609)
Browse files Browse the repository at this point in the history
  • Loading branch information
davwheat authored May 7, 2023
1 parent 3e2de2c commit 4930183
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions js/src/forum/components/NicknameModal.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,9 @@ export default class NicknameModal extends Modal {
<input type="text" autocomplete="off" name="nickname" className="FormControl" bidi={this.nickname} disabled={this.loading} />
</div>
<div className="Form-group">
{Button.component(
{
className: 'Button Button--primary Button--block',
type: 'submit',
loading: this.loading,
},
app.translator.trans('flarum-nicknames.forum.change_nickname.submit_button')
)}
<Button className="Button Button--primary Button--block" type="submit" loading={this.loading}>
{app.translator.trans('flarum-nicknames.forum.change_nickname.submit_button')}
</Button>
</div>
</div>
</div>
Expand Down

0 comments on commit 4930183

Please sign in to comment.