فهرست منبع

add component key

itizawa 6 سال پیش
والد
کامیت
3312c8f737
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/client/js/components/Admin/Notification/UserTriggerNotification.jsx

+ 1 - 1
src/client/js/components/Admin/Notification/UserTriggerNotification.jsx

@@ -124,7 +124,7 @@ class UserTriggerNotification extends React.Component {
               </td>
             </tr>
             {adminNotificationContainer.state.userNotifications.map((notification) => {
-              return <UserNotificationRow notification={notification} onClickDeleteBtn={this.onClickDeleteBtn} />;
+              return <UserNotificationRow notification={notification} onClickDeleteBtn={this.onClickDeleteBtn} key={notification._id} />;
             })
             }
           </tbody>