Skip to content

Commit

Permalink
feat: change sound count from round to exact
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Dec 2, 2023
1 parent 42ccc7a commit 8c49453
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/hero/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}>
Expand All @@ -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>
);
Expand Down

0 comments on commit 8c49453

Please sign in to comment.