fix: 0 battle handling

This commit is contained in:
TrèsAbhi committed 2024-03-30 12:38:53 -05:00
1 parent c18ee70eba
commit 457dcbcad5
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>
); );
}, },