From 965117dab87e2314765450b113296f8fe5429f7f Mon Sep 17 00:00:00 2001 From: Alex Rybchenko Date: Wed, 27 Oct 2021 14:48:24 +0200 Subject: [PATCH] remove wrong sorting Signed-off-by: Alex Rybchenko --- plugins/catalog/src/components/EntityLayout/EntityLayout.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx b/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx index 76619b652b..c5679355e5 100644 --- a/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx +++ b/plugins/catalog/src/components/EntityLayout/EntityLayout.tsx @@ -200,9 +200,7 @@ export const EntityLayout = ({ tabProps: props.tabProps, }, ]; - }) - // TODO: remove once react-router updated - .sort((a, b) => b.path.localeCompare(a.path)), + }), [entity], );