Merge version_1_1780754009380 into main #3
@@ -19,7 +19,7 @@ const HeroVideoExpand: React.FC<HeroVideoExpandProps> = ({ videoSrc, onComplete
|
||||
videoElement.removeEventListener('ended', handleEnded);
|
||||
};
|
||||
}
|
||||
}, [onComplete]); // Line 59, column 6 - Added 'onComplete' to dependency array
|
||||
}, [onComplete]);
|
||||
|
||||
return (
|
||||
<div className="relative w-full h-full overflow-hidden">
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { LucideIcon, icons } from 'lucide-react';
|
||||
|
||||
export function resolveIcon(iconName: string): LucideIcon | null { // Line 20, column 10 - Changed to named export
|
||||
export default function resolveIcon(iconName: string): LucideIcon | null {
|
||||
const IconComponent = icons[iconName as keyof typeof icons];
|
||||
if (IconComponent) {
|
||||
return IconComponent as LucideIcon;
|
||||
|
||||
Reference in New Issue
Block a user