Compare commits
3 Commits
58149a8061
...
renovate/n
Author | SHA1 | Date | |
---|---|---|---|
01935f78e9 | |||
47b8116fd7 | |||
394e65d0da |
@ -12,3 +12,5 @@ Example:
|
|||||||
- ID: Your scoresaber ID
|
- ID: Your scoresaber ID
|
||||||
- Rank: The rank you want to get to
|
- Rank: The rank you want to get to
|
||||||
- Started: The time you started the song in miliseconds. You can get this at <https://www.unixtimestamp.com>
|
- Started: The time you started the song in miliseconds. You can get this at <https://www.unixtimestamp.com>
|
||||||
|
|
||||||
|
You can remove the &started= part if you don't want the day counter.
|
||||||
|
6
pnpm-lock.yaml
generated
6
pnpm-lock.yaml
generated
@ -18,7 +18,7 @@ dependencies:
|
|||||||
devDependencies:
|
devDependencies:
|
||||||
'@types/node':
|
'@types/node':
|
||||||
specifier: ^20
|
specifier: ^20
|
||||||
version: 20.9.3
|
version: 20.11.30
|
||||||
'@types/react':
|
'@types/react':
|
||||||
specifier: ^18
|
specifier: ^18
|
||||||
version: 18.2.38
|
version: 18.2.38
|
||||||
@ -276,8 +276,8 @@ packages:
|
|||||||
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
|
resolution: {integrity: sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==}
|
||||||
dev: true
|
dev: true
|
||||||
|
|
||||||
/@types/node@20.9.3:
|
/@types/node@20.11.30:
|
||||||
resolution: {integrity: sha512-nk5wXLAXGBKfrhLB0cyHGbSqopS+nz0BUgZkUQqSHSSgdee0kssp1IAqlQOu333bW+gMNs2QREx7iynm19Abxw==}
|
resolution: {integrity: sha512-dHM6ZxwlmuZaRmUPfv1p+KrdD1Dci04FbdEm/9wEMouFqxYoFl5aMkt0VMAUtYRQDyYvD41WJLukhq/ha3YuTw==}
|
||||||
dependencies:
|
dependencies:
|
||||||
undici-types: 5.26.5
|
undici-types: 5.26.5
|
||||||
dev: true
|
dev: true
|
||||||
|
@ -53,25 +53,24 @@ export default function Home() {
|
|||||||
setInterval(updateRank, 1000 * 60 * 1); // update every minute
|
setInterval(updateRank, 1000 * 60 * 1); // update every minute
|
||||||
}, [mounted, updateRank]);
|
}, [mounted, updateRank]);
|
||||||
|
|
||||||
if (!playerId) {
|
if (!playerId || !rank) {
|
||||||
return (
|
return (
|
||||||
<main className="text-xl text-white">
|
<main className="text-xl p-2 text-black">
|
||||||
<p>Invalid or missing player ID</p>
|
<p>
|
||||||
</main>
|
Usage:{" "}
|
||||||
);
|
<span className="text-blue-500">
|
||||||
}
|
<a href="https://git.fascinated.cc/Fascinated/scoresaber-pp-to-rank-overlay#usage">
|
||||||
|
https://git.fascinated.cc/Fascinated/scoresaber-pp-to-rank-overlay#usage
|
||||||
if (!rank) {
|
</a>
|
||||||
return (
|
</span>
|
||||||
<main className="text-xl text-white">
|
</p>
|
||||||
<p>Invalid or missing rank</p>
|
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!ppDiff) {
|
if (!ppDiff) {
|
||||||
return (
|
return (
|
||||||
<main className="text-xl text-white">
|
<main className="text-xl p-2 text-white">
|
||||||
<p>Calculating...</p>
|
<p>Calculating...</p>
|
||||||
</main>
|
</main>
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user