Skip to content

Commit eb4d8cd

Browse files
author
shuai
committed
fix: cannot use private name ComponentProps
1 parent 27ad6e9 commit eb4d8cd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

quick-links/Component.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ interface SidebarConfigData {
3131
links_text?: string;
3232
}
3333

34-
interface ComponentProps {
34+
interface IProps {
3535
navigate: (url: string) => void;
3636
request: {
3737
instance: {
@@ -41,7 +41,7 @@ interface ComponentProps {
4141
hasDivider?: boolean;
4242
}
4343

44-
const Component = ({ navigate, request, hasDivider }: ComponentProps) => {
44+
const Component = ({ navigate, request, hasDivider }: IProps) => {
4545

4646
const { t } = useTranslation('plugin', {
4747
keyPrefix: 'quick_links.frontend',

quick-links/info.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717

1818
slug_name: quick_links
1919
type: sidebar
20-
version: 1.0.2
20+
version: 1.0.3
2121
author: answerdev
2222
link: https://github.com/apache/answer-plugins/tree/main/quick-links

0 commit comments

Comments
 (0)