Skip to content

Commit 0245bcc

Browse files
committed
catch safari unhandled exception on link click [YT AD-197]
1 parent 5d75eb9 commit 0245bcc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/Pages/PastExamPaperList/PastExamPaperList.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const PastExamPaperList = ({ actions, examSearchListError, examSearchList
168168
alert('Oh no! Something went wrong! You can copy and paste this link: ' + paperUrl);
169169
throw e;
170170
}
171-
return null;
171+
return false;
172172
};
173173

174174
// eslint-disable-next-line react/prop-types

0 commit comments

Comments
 (0)