fix: 0 battle handling

This commit is contained in:
TrèsAbhi committed 2024-03-30 12:33:17 -05:00
1 parent 0933aa6615
commit 10a6f8371d
1 file changed
+2
+2
View File
@@ -341,6 +341,7 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
)} )}
</div> </div>
{delta.battles > 0 && (
<div style={{ padding: '8px 0', display: 'flex' }}> <div style={{ padding: '8px 0', display: 'flex' }}>
<div <div
style={{ style={{
@@ -485,6 +486,7 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
</span> </span>
</div> </div>
</div> </div>
)}
</CommandWrapper> </CommandWrapper>
); );
}, },