code-review-fix task 12.2: replace @ts-ignore with proper CSS custom property type assertion in Toolbox.tsx

This commit is contained in:
Marko Djordjevic 2026-02-18 20:34:49 +01:00
parent 15be4c6ca1
commit 770a9a1485

View file

@ -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}
/>
);