Skip to content

Commit 5295494

Browse files
committed
Tweak for opening TG task in a new tab
1 parent 0e87246 commit 5295494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export const ChallengeDetailsContent: FC<Props> = (props: Props) => {
201201
const targetUrl = submission.url?.trim()
202202
if (targetUrl) {
203203
if (typeof window !== 'undefined') {
204-
const openedWindow = window.open(targetUrl, '_blank', 'noopener,noreferrer')
204+
window.open(targetUrl, '_blank', 'noopener,noreferrer')
205205
} else {
206206
toast.error('Unable to open the submission URL from this environment.')
207207
}

0 commit comments

Comments
 (0)