From 691eac48ba0d3cd2894514bbb85f24b5b0a5baf2 Mon Sep 17 00:00:00 2001 From: outfoxxed Date: Mon, 9 Dec 2024 00:11:02 -0800 Subject: [PATCH] sort type members --- src/pages/docs/types/[type]/[name].astro | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/docs/types/[type]/[name].astro b/src/pages/docs/types/[type]/[name].astro index 76d3822..97c656f 100644 --- a/src/pages/docs/types/[type]/[name].astro +++ b/src/pages/docs/types/[type]/[name].astro @@ -29,13 +29,13 @@ const sidebarFunctions = data.functions?.map(item => item.name) || null; const propsKeys = data.properties - ? Object.keys(data.properties) + ? Object.keys(data.properties).toSorted() : null; const signalKeys = data.signals - ? Object.keys(data.signals) + ? Object.keys(data.signals).toSorted() : null; const variantKeys = data.variants - ? Object.keys(data.variants) + ? Object.keys(data.variants).toSorted() : null; const sidebarData = {