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:
Graeme Christie
2024-02-22 16:11:44 +08:00
parent 8679bdadc0
commit 80a4886561
@@ -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}