Skip to content

Commit 44d75ae

Browse files
committed
style: format with prettier
1 parent e6025f2 commit 44d75ae

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

js/src/admin/index.js

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
import app from 'flarum/admin/app';
22

33
app.initializers.add('huoxin/auto-follow-discussion', () => {
4-
app.extensionData.for('huoxin-auto-follow-discussion')
5-
.registerSetting({
6-
setting: 'huoxin-auto-follow-discussion.defaultFollowAfterCreate',
7-
type: 'switch',
8-
label: app.translator.trans('huoxin-auto-follow-discussion.admin.default-follow-after-create-label'),
9-
help: app.translator.trans('huoxin-auto-follow-discussion.admin.default-follow-after-create-help'),
10-
});
4+
app.extensionData.for('huoxin-auto-follow-discussion').registerSetting({
5+
setting: 'huoxin-auto-follow-discussion.defaultFollowAfterCreate',
6+
type: 'switch',
7+
label: app.translator.trans('huoxin-auto-follow-discussion.admin.default-follow-after-create-label'),
8+
help: app.translator.trans('huoxin-auto-follow-discussion.admin.default-follow-after-create-help'),
9+
});
1110
});

0 commit comments

Comments
 (0)