oh yea yea

This commit is contained in:
Liam 2022-10-22 12:34:14 +01:00
parent 7665cbbae4
commit ec9cf81a38
2 changed files with 2 additions and 2 deletions

@ -60,7 +60,7 @@ export default class SongInfo extends Component {
const bsr = beatSaverData.bsr; const bsr = beatSaverData.bsr;
const { songName, songAuthorName, difficulty } = data; const { songName, songAuthorName, difficulty } = data;
const songTimerPercentage = const songTimerPercentage =
(this.props.data.currentSongTime / data.length) * 100; (this.props.data.currentSongTime / data.length) * 100000;
return ( return (
<div className={styles.songInfoContainer}> <div className={styles.songInfoContainer}>

@ -28,7 +28,7 @@ type MapData = {
* @param {string} hash * @param {string} hash
* @returns The map data * @returns The map data
*/ */
export async function getMapData(hash): Promise<MapData | undefined> { export async function getMapData(hash: string): Promise<MapData | undefined> {
const mapHash = hash.replace("custom_level_", "").toLowerCase(); const mapHash = hash.replace("custom_level_", "").toLowerCase();
const key = `${KEY}${mapHash}`; const key = `${KEY}${mapHash}`;