Skip to content

Commit 93dd2cd

Browse files
authored
Merge pull request #806 from topcoder-platform/TAL_talent-search-results-page
Tal talent search results page
2 parents a374c17 + b5e582b commit 93dd2cd

File tree

68 files changed

+1120
-677
lines changed

Some content is hidden

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

68 files changed

+1120
-677
lines changed

.vscode/components.code-snippets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"const ${1:ComponentName}: FC<${1:ComponentName}Props> = props => {",
3030
"",
3131
" return (",
32-
" <div className={styles['wrap']}>",
32+
" <div className={styles.wrap}>",
3333
" </div>",
3434
" )",
3535
"}",

.vscode/settings.json

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

craco.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ module.exports = {
4242
'@devCenter': resolve('src/apps/dev-center/src'),
4343
'@gamificationAdmin': resolve('src/apps/gamification-admin/src'),
4444
'@talentSearch': resolve('src/apps/talent-search/src'),
45+
'@profiles': resolve('src/apps/profiles/src'),
4546

4647
'@platform': resolve('src/apps/platform/src'),
4748
// aliases used in SCSS files

src/apps/profiles/src/ProfilesApp.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ import { FC, useContext } from 'react'
22
import { Outlet, Routes } from 'react-router-dom'
33

44
import { routerContext, RouterContextData } from '~/libs/core'
5+
import { SharedSwrConfig } from '~/libs/shared'
56

67
import { toolTitle } from './profiles.routes'
7-
import { ProfileSwr } from './lib'
88

99
const ProfilesApp: FC<{}> = () => {
1010
const { getChildRoutes }: RouterContextData = useContext(routerContext)
1111

1212
return (
13-
<ProfileSwr>
13+
<SharedSwrConfig>
1414
<Outlet />
1515
<Routes>
1616
{getChildRoutes(toolTitle)}
1717
</Routes>
18-
</ProfileSwr>
18+
</SharedSwrConfig>
1919
)
2020
}
2121

src/apps/profiles/src/lib/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
export * from './profile-swr'
21
export * from './helpers'

src/apps/profiles/src/lib/profile-swr/index.ts

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

src/apps/talent-search/src/TalentSearchApp.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { FC, useContext } from 'react'
22
import { Outlet, Routes } from 'react-router-dom'
33

44
import { routerContext, RouterContextData } from '~/libs/core'
5+
import { SharedSwrConfig } from '~/libs/shared'
56

67
import { toolTitle } from './talent-search.routes'
78

@@ -10,12 +11,12 @@ const TalentSearchApp: FC<{}> = () => {
1011
const { getChildRoutes }: RouterContextData = useContext(routerContext)
1112

1213
return (
13-
<>
14+
<SharedSwrConfig>
1415
<Outlet />
1516
<Routes>
1617
{getChildRoutes(toolTitle)}
1718
</Routes>
18-
</>
19+
</SharedSwrConfig>
1920
)
2021
}
2122

27.4 KB
Loading
-308 KB
Binary file not shown.
18.7 KB
Loading

0 commit comments

Comments
 (0)