mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: image picker popover improvement (#4068)
This commit is contained in:
parent
c6f36a056b
commit
f3fd48dd43
@ -144,7 +144,7 @@ export const ImagePickerPopover: React.FC<Props> = observer((props) => {
|
||||
useEffect(() => {
|
||||
if (!unsplashImages || value !== null) return;
|
||||
|
||||
onChange(unsplashImages[0].urls.regular);
|
||||
onChange(unsplashImages[0]?.urls.regular);
|
||||
}, [value, onChange, unsplashImages]);
|
||||
|
||||
const handleClose = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user