feat: finalized

This commit is contained in:
TrèsAbhi committed 2024-03-28 10:27:33 -05:00
1 parent 815369805a
commit c7021c5689
1 file changed
-7
-7
View File
@@ -2,7 +2,6 @@ import markdownEscape from 'markdown-escape';
import { Glow } from '../components/AllStatsOverview/components/HeroStat/components/Glow'; import { Glow } from '../components/AllStatsOverview/components/HeroStat/components/Glow';
import CommandWrapper from '../components/CommandWrapper'; import CommandWrapper from '../components/CommandWrapper';
import { DeltaCaret } from '../components/DeltaCaret'; import { DeltaCaret } from '../components/DeltaCaret';
import NoData from '../components/NoData';
import TitleBar from '../components/TitleBar'; import TitleBar from '../components/TitleBar';
import { getAccountInfo } from '../core/blitz/getAccountInfo'; import { getAccountInfo } from '../core/blitz/getAccountInfo';
import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo'; import { getClanAccountInfo } from '../core/blitz/getClanAccountInfo';
@@ -333,11 +332,6 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
)} )}
</div> </div>
{delta.battles === 0 && (
<NoData type="battles_in_period" locale={interaction.locale} />
)}
{delta.battles > 0 && (
<div style={{ padding: '8px 0', display: 'flex' }}> <div style={{ padding: '8px 0', display: 'flex' }}>
<div <div
style={{ style={{
@@ -482,7 +476,6 @@ export const ratingCommand = new Promise<CommandRegistry>((resolve) => {
</span> </span>
</div> </div>
</div> </div>
)}
</CommandWrapper> </CommandWrapper>
); );
}, },