fix: apply fix from eslint

This commit is contained in:
JellyBrick
2025-07-10 14:14:43 +09:00
parent 2cfc38757a
commit 1da83ff27c
29 changed files with 1654 additions and 168 deletions

View File

@ -6,7 +6,7 @@ export interface ForwardButtonProps {
export const ForwardButton = (props: ForwardButtonProps) => (
<div
class="style-scope ytmusic-pivot-bar-renderer navigation-item"
onClick={props.onClick}
onClick={(e) => props.onClick?.(e)}
role="tab"
tab-id="FEmusic_next"
>
@ -37,7 +37,7 @@ export const ForwardButton = (props: ForwardButtonProps) => (
d="M382.7,226.8L163.7,7.9c-5.1-5.1-11.8-7.9-19-7.9s-14,2.8-19,7.9L109.5,24c-10.5,10.5-10.5,27.6,0,38.1
l183.9,183.9L109.3,430c-5.1,5.1-7.9,11.8-7.9,19c0,7.2,2.8,14,7.9,19l16.1,16.1c5.1,5.1,11.8,7.9,19,7.9s14-2.8,19-7.9L382.7,265
c5.1-5.1,7.9-11.9,7.8-19.1C390.5,238.7,387.8,231.9,382.7,226.8z"
></path>
/>
</g>
</svg>
</div>