Skip to content

Commit

Permalink
#52 remove preface chapter from constants
Browse files Browse the repository at this point in the history
  • Loading branch information
iampz committed Mar 11, 2024
1 parent fba4460 commit b3405ca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/constants/chapterColorCode.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const chapterColorCode = {
"ทั้งหมด": "#FFFFFF",
"คำปรารภ": "#93785F",
"บทเฉพาะกาล": "#FF5151",
"บททั่วไป": "#FFD600",
"พระมหากษัตริย์": "#4182FF",
Expand Down
3 changes: 0 additions & 3 deletions src/constants/chapters.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const chapters = [
"คำปรารภ",
"บทเฉพาะกาล",
"บททั่วไป",
"พระมหากษัตริย์",
Expand All @@ -22,7 +21,6 @@ const chapters = [
// Used for data query
export const chapterNameToId = {
"บทเฉพาะกาล": "บทเฉพาะกาล",
"คำปรารภ": "0",
"บททั่วไป": "1",
"พระมหากษัตริย์": "2",
"สิทธิและเสรีภาพของปวงชนชาวไทย": "3",
Expand All @@ -44,7 +42,6 @@ export const chapterNameToId = {
// Used for data query
export const chapterIdToName = {
"บทเฉพาะกาล": "บทเฉพาะกาล",
"คำปรารภ": "คำปรารภ",
"1": "บททั่วไป",
"2": "พระมหากษัตริย์",
"3": "สิทธิและเสรีภาพของปวงชนชาวไทย",
Expand Down

0 comments on commit b3405ca

Please sign in to comment.