Skip to content

Commit 58dbc07

Browse files
Update JeMPI_Apps/JeMPI_UI/src/components/reviewLink/ReviewLink.tsx
Co-authored-by: MatthewErispe <[email protected]>
1 parent 49de9a5 commit 58dbc07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

JeMPI_Apps/JeMPI_UI/src/components/reviewLink/ReviewLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ const ReviewLink = () => {
155155
{
156156
onSuccess: () => {
157157
if (payload?.notificationId) {
158-
updateNotification(id, goldenRecord.uid)
158+
updateNotification(id, goldenRecord ? goldenRecord.uid : '')
159159
navigate('/notifications')
160160
} else {
161161
navigate(`/record-details/${id}`)

0 commit comments

Comments
 (0)