From 42d0bfadceba9cae8b276eba55aea578ddc28436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Va=CC=81clav=20Volhejn?= Date: Sat, 17 Jan 2026 20:08:23 +0100 Subject: [PATCH] Clean up --- .../src/repl/components/panel/Reference.jsx | 23 ++++++------------- 1 file changed, 7 insertions(+), 16 deletions(-) diff --git a/website/src/repl/components/panel/Reference.jsx b/website/src/repl/components/panel/Reference.jsx index 8a018ff9..950949b9 100644 --- a/website/src/repl/components/panel/Reference.jsx +++ b/website/src/repl/components/panel/Reference.jsx @@ -25,13 +25,13 @@ const availableFunctions = (() => { seen.add(s); // Swap `doc.name` in for `s` in the list of synonyms const synonymsWithDoc = [doc.name, ...synonyms].filter((x) => x && x !== s); - // functions.push({ - // ...doc, - // name: s, // update names for the synonym - // longname: s, - // synonyms: synonymsWithDoc, - // synonyms_text: synonymsWithDoc.join(', '), - // }); + functions.push({ + ...doc, + name: s, // update names for the synonym + longname: s, + synonyms: synonymsWithDoc, + synonyms_text: synonymsWithDoc.join(', '), + }); } } return functions.sort((a, b) => /* a.meta.filename.localeCompare(b.meta.filename) + */ a.name.localeCompare(b.name)); @@ -64,14 +64,6 @@ export function Reference() { } } - // if (entry.name === selectedFunction) { - // return true; - // } - - // if (!selectedTag) { - // return false; - // } - if (!search) { return true; } @@ -228,7 +220,6 @@ export function Reference() { )) ||

Searcb or select a tag to get started.

} {detailVisibleFunctions.length > 0 &&
} - {/* {!selectedTag &&

Select a tag to see the functions.

} */}