refactor: remove debug log and unused onError prop
This commit is contained in:
parent
d4d4421f36
commit
f0e23139a2
1 changed files with 0 additions and 3 deletions
|
@ -62,8 +62,6 @@ export default function Logo({
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(colorType, logoType, theme);
|
|
||||||
|
|
||||||
if (!colorType || !logoType || !theme) {
|
if (!colorType || !logoType || !theme) {
|
||||||
const errorMessage =
|
const errorMessage =
|
||||||
'Logo: colorType, logoType, and theme props are required.';
|
'Logo: colorType, logoType, and theme props are required.';
|
||||||
|
@ -129,7 +127,6 @@ export default function Logo({
|
||||||
className={className}
|
className={className}
|
||||||
width={width}
|
width={width}
|
||||||
height={height}
|
height={height}
|
||||||
// onError={handleImageError}
|
|
||||||
{...imageProps}
|
{...imageProps}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue