oh yea yea
This commit is contained in:
parent
7665cbbae4
commit
ec9cf81a38
@ -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}`;
|
||||||
|
Reference in New Issue
Block a user