Skip to content

Commit e87a1fa

Browse files
chore: remove unused components + rearrange file structure
1 parent 1c82443 commit e87a1fa

File tree

13 files changed

+7
-97
lines changed

13 files changed

+7
-97
lines changed

src/components/Analysis/HorizontalEvaluationBar.tsx

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/components/Analysis/PositionEvaluationContainer.tsx

Lines changed: 0 additions & 36 deletions
This file was deleted.

src/components/Analysis/VerticalEvaluationBar.tsx

Lines changed: 0 additions & 25 deletions
This file was deleted.

src/components/Analysis/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,13 @@
11
export * from './MoveMap'
22
export * from './MoveTooltip'
33
export * from './Highlight'
4-
export * from './InteractiveDescription'
54
export * from './Tournament'
65
export * from './BlunderMeter'
76
export * from './MovesByRating'
87
export * from './AnalysisGameList'
9-
export * from './DownloadModelModal'
10-
export * from './HorizontalEvaluationBar'
11-
export * from './PositionEvaluationContainer'
12-
export * from './VerticalEvaluationBar'
138
export * from './ConfigurableScreens'
149
export * from './CustomAnalysisModal'
1510
export * from './AnalysisConfigModal'
1611
export * from './AnalysisNotification'
1712
export * from './AnalysisOverlay'
13+
export * from './InteractiveDescription'
File renamed without changes.

src/components/Common/Header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { useRouter } from 'next/router'
77
import { DiscordIcon } from './Icons'
88
import { useCallback, useContext, useEffect, useState } from 'react'
99
import { AuthContext, ModalContext, WindowSizeContext } from 'src/contexts'
10-
import { LeaderboardNavBadge } from './LeaderboardNavBadge'
10+
import { LeaderboardNavBadge } from '../Leaderboard/LeaderboardNavBadge'
1111
import { useLeaderboardStatus } from 'src/hooks/useLeaderboardStatus'
1212

1313
export const Header: React.FC = () => {

src/components/Common/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,4 @@ export * from './PlaySetupModal'
1616
export * from './ModalContainer'
1717
export * from './ContinueAgainstMaia'
1818
export * from './AnimatedNumber'
19-
export * from './LeaderboardBadge'
20-
export * from './LeaderboardNavBadge'
21-
export * from './ProfileLeaderboardBadges'
19+
export * from './DownloadModelModal'
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
export * from './LeaderboardEntry'
22
export * from './LeaderboardColumn'
33
export * from './LeaderboardContext'
4+
export * from './LeaderboardBadge'
5+
export * from './LeaderboardNavBadge'

0 commit comments

Comments
 (0)