Skip to content

Commit

Permalink
fix: uppercase typo in tips
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzmyr committed Dec 25, 2022
1 parent 986be0a commit 54cc840
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Logger/slides/SlideMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const Tips = ({

if (sortedEmotions.length > 0) {
sortedEmotions.slice(0, 5).forEach(emotion => {
let description = t(`log_emotion_${emotion?.key}_description`)
let description = t(`log_emotion_${emotion?.key}_description`).toLowerCase()

if (language === 'de') {
description = description.charAt(0).toUpperCase() + description.slice(1)
Expand Down

0 comments on commit 54cc840

Please sign in to comment.