Skip to content

Commit

Permalink
Format with prettier.
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoknjas committed Nov 4, 2024
1 parent 3610bc0 commit c650a89
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions ui/analyse/src/study/chapterNewForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,13 @@ export function view(ctrl: StudyChapterNewForm): VNode {
ctrl.editor?.setOrientation((e.target as HTMLInputElement).value as Color),
),
},
[activeTab === 'pgn' && i18n.study.automatic].concat(
currentChapter.setup.orientation === 'white' ?
[i18n.site.white, i18n.site.black] : [i18n.site.black, i18n.site.white]
).map(
c => c && option(c, currentChapter.setup.orientation, c),
),
[activeTab === 'pgn' && i18n.study.automatic]
.concat(
currentChapter.setup.orientation === 'white'
? [i18n.site.white, i18n.site.black]
: [i18n.site.black, i18n.site.white],
)
.map(c => c && option(c, currentChapter.setup.orientation, c)),
),
]),
]),
Expand Down

0 comments on commit c650a89

Please sign in to comment.