From b9d1dc9f58adf7f59a39c0d0b63f874bab2ec13e Mon Sep 17 00:00:00 2001 From: Peter Colapietro Date: Fri, 27 Nov 2020 11:15:04 -0500 Subject: [PATCH] fix(react): add key prop to NotFoundErrorPage route Avoids: ``` Warning: Each child in a list should have a unique "key" prop. Check the render method of `App`. See https://fb.me/react-warning-keys for more information. in Route in App (at src/index.tsx:6) ``` --- packages/core-api/src/app/App.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/core-api/src/app/App.tsx b/packages/core-api/src/app/App.tsx index 9c38c20b44..3d32259337 100644 --- a/packages/core-api/src/app/App.tsx +++ b/packages/core-api/src/app/App.tsx @@ -184,7 +184,13 @@ export class PrivateAppImpl implements BackstageApp { } } - routes.push(} />); + routes.push( + } + />, + ); return routes; }