1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Code review suggestions

This commit is contained in:
Nick 2024-03-22 18:19:30 -07:00
parent e038055b47
commit 55d57eedcc
3 changed files with 5 additions and 7 deletions

View file

@ -1,4 +1,4 @@
import React, { FunctionComponent } from 'react';
import React, { type FunctionComponent } from 'react';
import globalize from '../../../../scripts/globalize';
type IProps = {
@ -22,9 +22,9 @@ const LinkTrickplayAcceleration: FunctionComponent<IProps> = ({ className, title
return (
<div
dangerouslySetInnerHTML={createLinkElement({
className: className,
className,
title: globalize.translate(title),
href: href
href
})}
/>
);