Bläddra i källkod

Merge pull request #20196 from overleaf/td-notification-html-validity

Remove superfluous elements around notifications on project dashboard

GitOrigin-RevId: 975e6056e6e89703f24b5ae1853c58c998722202
Tim Down 2 år sedan
förälder
incheckning
8219957436

+ 1 - 3
services/web/frontend/js/features/project-list/components/notifications/user-notifications.tsx

@@ -86,9 +86,7 @@ function UserNotifications() {
           }}
           }}
         />
         />
         {moduleNotifications.map(({ import: { default: Component }, path }) => (
         {moduleNotifications.map(({ import: { default: Component }, path }) => (
-          <li key={path}>
-            <Component />
-          </li>
+          <Component key={path} />
         ))}
         ))}
       </ul>
       </ul>
     </div>
     </div>