Skip to content

Commit f3c3fa8

Browse files
authored
Merge pull request #1285 from topcoder-platform/feat/v6
Minor fix to the TG task redirect
2 parents ca933dc + 0e87246 commit f3c3fa8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/apps/review/src/lib/components/ChallengeDetailsContent/ChallengeDetailsContent.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -202,9 +202,6 @@ export const ChallengeDetailsContent: FC<Props> = (props: Props) => {
202202
if (targetUrl) {
203203
if (typeof window !== 'undefined') {
204204
const openedWindow = window.open(targetUrl, '_blank', 'noopener,noreferrer')
205-
if (openedWindow === null) {
206-
window.location.assign(targetUrl)
207-
}
208205
} else {
209206
toast.error('Unable to open the submission URL from this environment.')
210207
}

0 commit comments

Comments
 (0)