refactor: remove debug log and unused onError prop

This commit is contained in:
micha 2025-05-28 18:43:28 +02:00 committed by Maximilian Liebmann
parent d4d4421f36
commit f0e23139a2

View file

@ -62,8 +62,6 @@ export default function Logo({
return null;
}
console.log(colorType, logoType, theme);
if (!colorType || !logoType || !theme) {
const errorMessage =
'Logo: colorType, logoType, and theme props are required.';
@ -129,7 +127,6 @@ export default function Logo({
className={className}
width={width}
height={height}
// onError={handleImageError}
{...imageProps}
/>
);