Skip to content

Commit 8dc5168

Browse files
committed
fix error
1 parent 04a1de2 commit 8dc5168

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/BibleBookList/BibleBookList.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function BibleBookList({
3838
}
3939
let bibleBooks;
4040
if (showOBS) {
41-
bibleBooks = { ...OLD_TESTAMENT, ...NEW_TESTAMENT, OBS };
41+
bibleBooks = { ...OLD_TESTAMENT, ...NEW_TESTAMENT, ...OBS };
4242
} else {
4343
bibleBooks = { ...OLD_TESTAMENT, ...NEW_TESTAMENT };
4444
}
@@ -172,6 +172,8 @@ BibleBookList.propTypes = {
172172
testaments: PropTypes.oneOf(['all', 'nt', 'ot']),
173173
/** block header of "New Testament" */
174174
titleNT: PropTypes.string,
175+
/** block header of "OBS" */
176+
titleOBS: PropTypes.string,
175177
/** block header of "Old Testament" */
176178
titleOT: PropTypes.string,
177179
/** when true, show first New Testament, second - Old Testament */

src/components/BibleBookList/BibleBookList.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const NTBookList = [
5454
showInactive={false}
5555
titleOT="Old Testament"
5656
titleNT="New Testament"
57-
titleOBS="OBS"
57+
titleOBS="Other"
5858
showOBS={true}
5959
titleBooks={titleBooks}
6060
availableBookList={availableBookList} // replace to NTBookList

0 commit comments

Comments
 (0)