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