Replaced toSorted reference with sort as backstage does not have ESNext array functionality enabed in tsconfig
Signed-off-by: Graeme Christie <gchristie@bunnings.com.au>
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ const Kind = ({ value }: { value: Kinds }) => {
|
||||
|
||||
const Tags = ({ tags }: { tags: any }) => {
|
||||
return Object.keys(tags)
|
||||
.toSorted()
|
||||
.sort()
|
||||
.map((key: any) => (
|
||||
<Chip
|
||||
key={key}
|
||||
|
||||
Reference in New Issue
Block a user