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';
|
import styles from './hero.module.css';
|
||||||
|
|
||||||
export function Hero() {
|
export function Hero() {
|
||||||
const count = useMemo(() => soundCount(true), []);
|
const count = useMemo(soundCount, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.hero}>
|
<div className={styles.hero}>
|
||||||
@ -31,7 +31,7 @@ export function Hero() {
|
|||||||
<Balancer>Ambient sounds for focus and calm.</Balancer>
|
<Balancer>Ambient sounds for focus and calm.</Balancer>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p className={styles.sounds}>+{count} Sounds</p>
|
<p className={styles.sounds}>{count} Sounds</p>
|
||||||
</Container>
|
</Container>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user