Skip to content

Commit 6847d1d

Browse files
Merge pull request #456 from topcoder-platform/TCA-851_dice-id
TCA-851 Reload page after account settings -> dev
2 parents 7d49b0e + b882472 commit 6847d1d

File tree

1 file changed

+12
-1
lines changed
  • src-ts/tools/learn/course-details/course-curriculum/dice-modal

1 file changed

+12
-1
lines changed

src-ts/tools/learn/course-details/course-curriculum/dice-modal/DiceModal.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)