This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch feat/1.7.0/quicklinks
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git
The following commit(s) were added to refs/heads/feat/1.7.0/quicklinks by this
push:
new 998bfe2 fix: remove spaces from the URL
998bfe2 is described below
commit 998bfe2c2f5c49db984694fa0e8b6790d109be6c
Author: shuai <[email protected]>
AuthorDate: Thu Aug 14 14:45:49 2025 +0800
fix: remove spaces from the URL
---
quick-links/Component.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/quick-links/Component.tsx b/quick-links/Component.tsx
index ab8da7f..6f4365f 100644
--- a/quick-links/Component.tsx
+++ b/quick-links/Component.tsx
@@ -68,7 +68,7 @@ const Component = ({ navigate, request }) => {
{links?.map((link) => {
const name = link.split(',')[0]
- const url = link.split(',')[1]
+ const url = link.split(',')[1]?.trim()
if (!url || !name) {
return null;
}