File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
src-ts/tools/learn/course-details/course-curriculum Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -175,8 +175,6 @@ const CourseCurriculum: FC<CourseCurriculumProps> = (props: CourseCurriculumProp
175
175
176
176
function onDiceModalClose ( ) : void {
177
177
setIsDiceModalOpen ( false )
178
- // reload the page so we refresh the DICE ID status
179
- window . location . reload ( )
180
178
}
181
179
182
180
return (
Original file line number Diff line number Diff line change @@ -39,11 +39,22 @@ const DiceModal: FC<DiceModalProps> = (props: DiceModalProps) => {
39
39
< Button
40
40
buttonStyle = 'primary'
41
41
label = 'Account Settings'
42
- onClick = { props . onClose }
43
42
target = '_blank'
44
43
url = { EnvironmentConfig . TOPCODER_URLS . ACCOUNT_SETTINGS }
45
44
/>
46
45
</ p >
46
+ < p >
47
+ When you have completed configuring your account,
48
+ click below to refresh your settings.
49
+ </ p >
50
+ < p className = { styles . buttonContainer } >
51
+ < Button
52
+ buttonStyle = 'secondary'
53
+ label = 'Refresh Settings'
54
+ onClick = { props . onClose }
55
+ url = { window . location . href }
56
+ />
57
+ </ p >
47
58
</ div >
48
59
49
60
</ BaseModal >
You can’t perform that action at this time.
0 commit comments