Skip to content

Commit 660909b

Browse files
author
Amir Tocker
committed
Filter out public_id form the options.
1 parent c7b4ce3 commit 660909b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Image/Image.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default class Image extends CloudinaryComponent {
3636
}
3737

3838
render() {
39-
var {children, ...options} = CloudinaryComponent.getOptions(this.props, this.context);
39+
var {public_id, children, ...options} = CloudinaryComponent.getOptions(this.props, this.context);
4040
var attributes = cloudinary.Transformation.new(options).toHtmlAttributes();
4141
return (
4242
<img {...attributes} src={this.state.url} />

0 commit comments

Comments
 (0)