fix(app): do not crash when the browser translates the page (#2624)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-09 01:24:14 +02:00
1 parent 044a2c101d
commit d729f641ff
83 files changed
+3774 -1080

No files matched your search

@@ -653,8 +653,7 @@ export const EntranceSoundSection: React.FC = observer(() => {
{entry.name}
</span>
<span className={styles.soundDuration} data-flx="user.entrance-sound-section.sound-duration">
{(entry.durationMs / 1000).toFixed(1)}s
{isActiveHere ? ` · ${i18n._(ACTIVE_BADGE_DESCRIPTOR)}` : ''}
{`${(entry.durationMs / 1000).toFixed(1)}s${isActiveHere ? ` · ${i18n._(ACTIVE_BADGE_DESCRIPTOR)}` : ''}`}
</span>
</div>
</div>