Skip to content

Commit c99993d

Browse files
authored
Merge pull request #848 from topcoder-platform/profiles-app
Profiles app -> dev
2 parents 0001bd6 + 9d22ce9 commit c99993d

File tree

47 files changed

+296
-1306
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+296
-1306
lines changed

src/apps/profiles/src/components/AssemblyDetailsModal/AssemblyDetailsModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import styles from './AssemblyDetailsModal.module.scss'
2323
type SRMViewTypes = 'STATISTICS' | 'CHALLENGES DETAILS'
2424

2525
interface AssemblyDetailsModalProps {
26-
isAssemblyDetailsOpen: boolean
2726
onClose: () => void
2827
assemblyStats: MemberStats | undefined
2928
profile: UserProfile | undefined
@@ -86,7 +85,7 @@ const AssemblyDetailsModal: FC<AssemblyDetailsModalProps> = (props: AssemblyDeta
8685
return (
8786
<BaseModal
8887
onClose={props.onClose}
89-
open={props.isAssemblyDetailsOpen}
88+
open
9089
size='body'
9190
title='ASSEMBLY COMPETITION'
9291
>

src/apps/profiles/src/components/BannersIconsDetailsModal/BannersIconsDetailsModal.tsx

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

src/apps/profiles/src/components/BannersIconsDetailsModal/index.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

src/apps/profiles/src/components/BugHuntDetailsModal/BugHuntDetailsModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import styles from './BugHuntDetailsModal.module.scss'
1313
type BugHuntViewTypes = 'CHALLENGES DETAILS'
1414

1515
interface BugHuntDetailsModalProps {
16-
isBugHuntDetailsOpen: boolean
1716
onClose: () => void
1817
bugHuntStats: MemberStats | undefined
1918
}
@@ -27,7 +26,7 @@ const BugHuntDetailsModal: FC<BugHuntDetailsModalProps> = (props: BugHuntDetails
2726
return (
2827
<BaseModal
2928
onClose={props.onClose}
30-
open={props.isBugHuntDetailsOpen}
29+
open
3130
size='body'
3231
title='BUG HUNT'
3332
>

src/apps/profiles/src/components/CodeDetailsModal/CodeDetailsModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import styles from './CodeDetailsModal.module.scss'
2323
type CodeViewTypes = 'STATISTICS' | 'CHALLENGES DETAILS'
2424

2525
interface CodeDetailsModalProps {
26-
isCodeDetailsOpen: boolean
2726
onClose: () => void
2827
codeStats: MemberStats | undefined
2928
profile: UserProfile | undefined
@@ -83,7 +82,7 @@ const CodeDetailsModal: FC<CodeDetailsModalProps> = (props: CodeDetailsModalProp
8382
return (
8483
<BaseModal
8584
onClose={props.onClose}
86-
open={props.isCodeDetailsOpen}
85+
open
8786
size='body'
8887
title='Code'
8988
>

src/apps/profiles/src/components/ContentCreationDetailsModal/ContentCreationDetailsModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ import styles from './ContentCreationDetailsModal.module.scss'
2424
type TestScenViewTypes = 'STATISTICS' | 'CHALLENGES DETAILS'
2525

2626
interface ContentCreationDetailsModalProps {
27-
isContentCreationDetailsOpen: boolean
2827
onClose: () => void
2928
contentCreationStats: MemberStats | undefined
3029
profile: UserProfile | undefined
@@ -84,7 +83,7 @@ const ContentCreationDetailsModal: FC<ContentCreationDetailsModalProps> = (props
8483
return (
8584
<BaseModal
8685
onClose={props.onClose}
87-
open={props.isContentCreationDetailsOpen}
86+
open
8887
size='body'
8988
title='CONTENT CREATION'
9089
>

src/apps/profiles/src/components/CopilotDetailsModal/CopilotDetailsModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,14 @@ import { UserStats } from '~/libs/core'
66
import styles from './CopilotDetailsModal.module.scss'
77

88
interface CopilotDetailsModalProps {
9-
isCopilotDetailsOpen: boolean
109
onClose: () => void
1110
copilotDetails: UserStats['COPILOT']
1211
}
1312

1413
const CopilotDetailsModal: FC<CopilotDetailsModalProps> = (props: CopilotDetailsModalProps) => (
1514
<BaseModal
1615
onClose={props.onClose}
17-
open={props.isCopilotDetailsOpen}
16+
open
1817
size='lg'
1918
title='COPILOT'
2019
>

src/apps/profiles/src/components/DesignF2FDetailsModal/DesignF2FDetailsModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import styles from './DesignF2FDetailsModal.module.scss'
1313
type WebDesignViewTypes = 'CHALLENGES DETAILS'
1414

1515
interface DesignF2FDetailsModalProps {
16-
isDesignF2FDetailsOpen: boolean
1716
onClose: () => void
1817
designF2FStats: MemberStats | undefined
1918
}
@@ -27,7 +26,7 @@ const DesignF2FDetailsModal: FC<DesignF2FDetailsModalProps> = (props: DesignF2FD
2726
return (
2827
<BaseModal
2928
onClose={props.onClose}
30-
open={props.isDesignF2FDetailsOpen}
29+
open
3130
size='body'
3231
title='DESIGN FIRST2FINISH'
3332
>

src/apps/profiles/src/components/F2FDetailsModal/F2FDetailsModal.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import styles from './F2FDetailsModal.module.scss'
1313
type BugHuntViewTypes = 'CHALLENGES DETAILS'
1414

1515
interface F2FDetailsModalProps {
16-
isF2FDetailsOpen: boolean
1716
onClose: () => void
1817
f2fStats: MemberStats | undefined
1918
}
@@ -27,7 +26,7 @@ const F2FDetailsModal: FC<F2FDetailsModalProps> = (props: F2FDetailsModalProps)
2726
return (
2827
<BaseModal
2928
onClose={props.onClose}
30-
open={props.isF2FDetailsOpen}
29+
open
3130
size='body'
3231
title='FIRST2FINISH'
3332
>

src/apps/profiles/src/components/FEDesignDetailsModal/FEDesignDetailsModal.module.scss

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

0 commit comments

Comments
 (0)