From e1ec0d7e7c1a935efcc95dd926f5f4cc1496c40a Mon Sep 17 00:00:00 2001 From: mDuo13 Date: Fri, 31 Jan 2025 15:13:37 -0800 Subject: [PATCH] Further fix code samples descriptions --- @theme/plugins/code-samples.js | 2 +- _code-samples/build-a-browser-wallet/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/@theme/plugins/code-samples.js b/@theme/plugins/code-samples.js index 53b66f2fe8..27ba4fbd5a 100644 --- a/@theme/plugins/code-samples.js +++ b/@theme/plugins/code-samples.js @@ -28,7 +28,7 @@ export function codeSamples() { samples.push({ path: dirPath, title: title || toTitleCase(dirname(dirPath)), - description: getInnerText([data.ast.children[1]]).replace(title, '').trim(), + description: getInnerText([data.ast.children[1]]).trim(), href: joinPath('content', dirPath), langs, }); diff --git a/_code-samples/build-a-browser-wallet/README.md b/_code-samples/build-a-browser-wallet/README.md index 640e29134a..ac2be2a3e5 100644 --- a/_code-samples/build-a-browser-wallet/README.md +++ b/_code-samples/build-a-browser-wallet/README.md @@ -1,3 +1,3 @@ # Build a Browser Wallet -Implement a non-custodial wallet application that runs on in a web browser and can check an account's balances, send XRP, and notify when the account receives incoming transactions. +Implement a non-custodial wallet application that runs in a web browser and can check an account's balances, send XRP, and notify when the account receives incoming transactions.