]> git.localhorst.tv Git - alttp.git/blobdiff - resources/js/components/tracker/CountDisplay.js
svg dungeon tracker
[alttp.git] / resources / js / components / tracker / CountDisplay.js
index 8282422486c92059f574a70f7ea0715e2bf37f53..ba41b9fa50dd1dc81560f079c05868c6fa713121 100644 (file)
@@ -12,9 +12,9 @@ const CountDisplay = ({ className, count, full }) => {
        if (full && count >= full) {
                classNames.push('is-full');
        }
-       return <span className={classNames.join(' ')}>
+       return <text className={classNames.join(' ')}>
                {count}
-       </span>;
+       </text>;
 };
 
 CountDisplay.propTypes = {