diff --git a/app/javascript/mastodon/components/list_item/index.tsx b/app/javascript/mastodon/components/list_item/index.tsx index a691762b5d..377196542e 100644 --- a/app/javascript/mastodon/components/list_item/index.tsx +++ b/app/javascript/mastodon/components/list_item/index.tsx @@ -67,9 +67,14 @@ interface LinkProps extends React.ComponentPropsWithoutRef, ContentProps {} export const ListItemLink = polymorphicForwardRef<'h3', LinkProps>( - ({ as, subtitle, children, className, ...otherProps }, ref) => { + ({ as, subtitle, subtitleId, children, className, ...otherProps }, ref) => { return ( - + {children} @@ -82,9 +87,14 @@ interface ButtonProps extends React.ComponentPropsWithoutRef<'button'>, ContentProps {} export const ListItemButton = polymorphicForwardRef<'h3', ButtonProps>( - ({ as, subtitle, children, className, ...otherProps }, ref) => { + ({ as, subtitle, subtitleId, children, className, ...otherProps }, ref) => { return ( - +