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
175175
176176 function onDiceModalClose ( ) : void {
177177 setIsDiceModalOpen ( false )
178- // reload the page so we refresh the DICE ID status
179- window . location . reload ( )
180178 }
181179
182180 return (
Original file line number Diff line number Diff line change @@ -39,11 +39,22 @@ const DiceModal: FC<DiceModalProps> = (props: DiceModalProps) => {
3939 < Button
4040 buttonStyle = 'primary'
4141 label = 'Account Settings'
42- onClick = { props . onClose }
4342 target = '_blank'
4443 url = { EnvironmentConfig . TOPCODER_URLS . ACCOUNT_SETTINGS }
4544 />
4645 </ 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 >
4758 </ div >
4859
4960 </ BaseModal >
You can’t perform that action at this time.
0 commit comments