fix(typo): maxWidht -> maxWidth

This commit is contained in:
Lumm1t 2021-02-15 14:07:28 +01:00
parent d1afb967cd
commit ae47c57a17

View file

@ -31,7 +31,7 @@ export const getNextRankBar = (
percentage: number,
color: string,
): string => {
const maxWidht = 80;
const maxWidth = 80;
return `
<style>
@keyframes ${title}RankAnimation {
@ -39,7 +39,7 @@ export const getNextRankBar = (
width: 0px;
}
to {
width: ${maxWidht * percentage}px;
width: ${maxWidth * percentage}px;
}
}
#${title}-rank-progress{
@ -50,7 +50,7 @@ export const getNextRankBar = (
x="15"
y="101"
rx="1"
width="${maxWidht}"
width="${maxWidth}"
height="3.2"
opacity="0.3"
fill="${color}"