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

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


The following commit(s) were added to refs/heads/main by this push:
     new eb4d8cd  fix: cannot use private name ComponentProps
eb4d8cd is described below

commit eb4d8cd06f6cf38778c0ad99f023296a9b496a5e
Author: shuai <[email protected]>
AuthorDate: Thu Jan 29 10:43:53 2026 +0800

    fix: cannot use private name ComponentProps
---
 quick-links/Component.tsx | 4 ++--
 quick-links/info.yaml     | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/quick-links/Component.tsx b/quick-links/Component.tsx
index 0343eac..db711e6 100644
--- a/quick-links/Component.tsx
+++ b/quick-links/Component.tsx
@@ -31,7 +31,7 @@ interface SidebarConfigData {
   links_text?: string;
 }
 
-interface ComponentProps {
+interface IProps {
   navigate: (url: string) => void;
   request: {
     instance: {
@@ -41,7 +41,7 @@ interface ComponentProps {
   hasDivider?: boolean;
 }
 
-const Component = ({ navigate, request, hasDivider }: ComponentProps) => {
+const Component = ({ navigate, request, hasDivider }: IProps) => {
 
   const { t } = useTranslation('plugin', {
     keyPrefix: 'quick_links.frontend',
diff --git a/quick-links/info.yaml b/quick-links/info.yaml
index 362d6a7..fb9f601 100644
--- a/quick-links/info.yaml
+++ b/quick-links/info.yaml
@@ -17,6 +17,6 @@
 
 slug_name: quick_links
 type: sidebar
-version: 1.0.2
+version: 1.0.3
 author: answerdev
 link: https://github.com/apache/answer-plugins/tree/main/quick-links

Reply via email to