Merge pull request #40 from summertriangle-dev/patch-1

Fix typo in active visitor count
This commit is contained in:
Mike Cao 2020-08-22 10:16:00 -07:00 committed by GitHub
commit 133785278b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ export default function ActiveUsers({ websiteId, className }) {
<animated.div className={styles.value}> <animated.div className={styles.value}>
{props.x.interpolate(x => x.toFixed(0))} {props.x.interpolate(x => x.toFixed(0))}
</animated.div> </animated.div>
<div>{`current vistor${count !== 1 ? 's' : ''}`}</div> <div>{`current visitor${count !== 1 ? 's' : ''}`}</div>
</div> </div>
</div> </div>
); );