Skip to content

Commit 0e87246

Browse files
committed
Minor fix to the TG task redirect
1 parent fa1273d commit 0e87246

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)