mirror of
https://github.com/remvze/moodist.git
synced 2025-09-29 15:30:49 -04:00
feat: change sound count from round to exact
This commit is contained in:
parent
42ccc7ada7
commit
8c49453011
@ -8,7 +8,7 @@ import { count as soundCount } from '@/lib/sounds';
|
||||
import styles from './hero.module.css';
|
||||
|
||||
export function Hero() {
|
||||
const count = useMemo(() => soundCount(true), []);
|
||||
const count = useMemo(soundCount, []);
|
||||
|
||||
return (
|
||||
<div className={styles.hero}>
|
||||
@ -31,7 +31,7 @@ export function Hero() {
|
||||
<Balancer>Ambient sounds for focus and calm.</Balancer>
|
||||
</p>
|
||||
|
||||
<p className={styles.sounds}>+{count} Sounds</p>
|
||||
<p className={styles.sounds}>{count} Sounds</p>
|
||||
</Container>
|
||||
</div>
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user