Skip to content

Commit

Permalink
Removed debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
SansCaar committed Aug 4, 2024
1 parent 85711ee commit 7f10873
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions nepalingo-web/src/hooks/useQuotes.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,7 @@ const useQuotes = (): QuotesResponse => {
const quotesArray = quotesText.split(/\r\n|\n/).map((line: string) => {
const [quote, englishTranslation] = parse(line);
return {
text: quote
? quote.trim().replace(/(^"|"$)/g, "") + selectedLanguage
: "",
text: quote ? quote.trim().replace(/(^"|"$)/g, "") : "",
translation: englishTranslation
? englishTranslation.trim().replace(/(^"|"$)/g, "")
: "",
Expand Down

0 comments on commit 7f10873

Please sign in to comment.