File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 8484 "prop-types" : " ^15.7.2"
8585 },
8686 "peerDependencies" : {
87- "react" : " ^16.13.1 || ^17.0.0 || ^18.0.0" ,
88- "react-dom" : " ^16.13.1 || ^17.0.0 || ^18.0.0"
87+ "react" : " ^16.13.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 " ,
88+ "react-dom" : " ^16.13.1 || ^17.0.0 || ^18.0.0 || ^19.0.0 "
8989 }
9090}
Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const IKImage = (props: IKImageProps) => {
9191
9292 return < img
9393 alt = { props . alt || "" }
94- src = { currentUrl ? currentUrl : '' }
94+ src = { currentUrl ? currentUrl : undefined }
9595 ref = { imageRef }
9696 { ...restProps }
9797 /> ;
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export type IKVideoState = {
1313const IKVideo = ( props : IKVideoProps & IKContextBaseProps ) => {
1414 const videoRef = useRef < HTMLVideoElement > ( null ) ;
1515 const [ state , setState ] = useState < IKVideoState > ( {
16- currentUrl : '' ,
16+ currentUrl : undefined ,
1717 contextOptions : { }
1818 } ) ;
1919
You can’t perform that action at this time.
0 commit comments