code-review-fix task 12.2: replace @ts-ignore with proper CSS custom property type assertion in Toolbox.tsx
This commit is contained in:
parent
15be4c6ca1
commit
770a9a1485
1 changed files with 1 additions and 2 deletions
|
|
@ -214,9 +214,8 @@ export default function Toolbox({
|
|||
style={{
|
||||
backgroundColor: preset.color,
|
||||
borderColor: isSelected ? preset.color : 'transparent',
|
||||
// @ts-ignore
|
||||
'--tw-ring-color': preset.color,
|
||||
}}
|
||||
} as React.CSSProperties & { [key: string]: string }}
|
||||
title={preset.name}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue