Skip to content

Commit

Permalink
chore(web): StoryBlock isList default fix (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
jashanbhullar committed Oct 25, 2023
1 parent b1fd2cf commit a8fb535
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -19,7 +19,7 @@ const CameraBlock: React.FC<Props> = ({ block, isSelected, ...props }) => {
} = usePropertyValueUpdate();

const cameraButtons = useMemo(
() => Object.values(block?.property?.default) as CameraBlockType[],
() => Object.values(block?.property?.default ?? []) as CameraBlockType[],
[block?.property?.default],
);

Expand Down

0 comments on commit a8fb535

Please sign in to comment.