This is an automated email from the ASF dual-hosted git repository.

linkinstar pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-plugins.git

commit 8ec6b24405360fbfe6268e37cbbb995ca7942938
Author: shuai <[email protected]>
AuthorDate: Fri Aug 15 10:53:45 2025 +0800

    fix: add key attribute
---
 quick-links/Component.tsx | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/quick-links/Component.tsx b/quick-links/Component.tsx
index 6f4365f..d90da1d 100644
--- a/quick-links/Component.tsx
+++ b/quick-links/Component.tsx
@@ -59,6 +59,7 @@ const Component = ({ navigate, request }) => {
         return (
           <a
             href={href}
+            key={href}
             className={`nav-link ${window.location.pathname === href ? 
'active' : ''}`}
             onClick={handleNavigate}>
             <span>{tag.display_name}</span>
@@ -75,6 +76,7 @@ const Component = ({ navigate, request }) => {
         return (
           <a
             href={url}
+            key={url}
             className={`nav-link ${window.location.pathname === url ? 'active' 
: ''}`}
             onClick={handleNavigate}
           >

Reply via email to