#106 Errors in browser console with multiple motds of same class
Closed 2 years ago by lbrabec. Opened 2 years ago by frantisekz.

If there are motds with same class, there is an error visible in the browser console:

Warning: Each child in a list should have a unique "key" prop. See https://fb.me/react-warning-keys for more information.
    in ServiceAlerts (created by Connect(ServiceAlerts))
    in Connect(ServiceAlerts) (at Dashboard/index.js:198)
    in div (at DashboardLayout.js:12)
    in div (at DashboardLayout.js:11)
    in div (at DashboardLayout.js:9)
    in DashboardLayout (created by Connect(DashboardLayout))
    in Connect(DashboardLayout) (at Dashboard/index.js:195)
    in Dashboard (created by Connect(Dashboard))
    in Connect(Dashboard) (at App.js:52)
    in Route (at App.js:42)
    in Switch (at App.js:26)
    in Router (created by BrowserRouter)
    in BrowserRouter (at App.js:25)
    in App (created by Connect(App))
    in Connect(App) (at src/index.js:30)
    in Provider (at src/index.js:29)
    in StrictMode (at src/index.js:28)
console.<computed> @ index.js:1

It doesn't seem to affect functionality in any way.


Metadata Update from @lbrabec:
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata