Skip to content

Commit

Permalink
Hotfix: update Newari wordlist
Browse files Browse the repository at this point in the history
  • Loading branch information
binamkayastha committed Jul 28, 2024
1 parent 59056f3 commit 5b3a1b3
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion nepalingo-web/src/components/Flashcard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,38 @@ const Flashcard: React.FC = () => {
const handleNextWord = async () => {
let wordArray: Array<string> = [];
if (selectedLanguage === "Newari") {
wordArray = ["salt", "hello", "go"];
wordArray = [
"hello",
"call",
"can",
"do",
"how",
"I",
"my",
"what",
"where",
"a",
"do",
"not",
"for",
"from",
"fun",
"have",
"help",
"language",
"me",
"name",
"need",
"please",
"police",
"sick",
"speak",
"understand",
"well",
"you",
"your",
"salt",
];
} else if (selectedLanguage === "Tajpuriya") {
const wordText = await fetch("./dictionaries/TajpuriyaDictionary.csv")
.then((r) => r.text())
Expand Down

0 comments on commit 5b3a1b3

Please sign in to comment.