fix(types): substitui qualquer any por ComponenteItemData em SeletorItensOtimizado

This commit is contained in:
2026-08-21 15:15:56 +00:00
parent 8bd95af40a
commit f72b7c86fd
@@ -275,7 +275,7 @@ export const SeletorItensOtimizado: React.FC<SeletorItensOtimizadoProps> = ({
); );
}; };
const ComponenteItem = ({ componente }: { componente: any }) => ( const ComponenteItem = ({ componente }: { componente: ComponenteItemData }) => (
<div <div
className="p-2 border border-slate-600 rounded-md hover:bg-slate-700/50 cursor-pointer transition-colors" className="p-2 border border-slate-600 rounded-md hover:bg-slate-700/50 cursor-pointer transition-colors"
onClick={() => handleComponenteSelect(componente)} onClick={() => handleComponenteSelect(componente)}