fix: remove logs to console

This commit is contained in:
Akuoko Daniel Jnr 2020-11-18 03:49:07 +00:00
parent dc005c1ac8
commit ebefdc9aad
No known key found for this signature in database
GPG Key ID: 1C95803CACD3E9DC

View File

@ -61,7 +61,7 @@ export default class SlateMediaObject extends React.Component {
const url = this.props.data.url.replace("https://undefined", "https://");
const type = this.props.data.type ? this.props.data.type : "LEGACY_NO_TYPE";
const playType = typeMap[type] ? typeMap[type] : type;
console.log(this.props);
let element = <div css={STYLES_FAILURE}>No Preview</div>;
if (type.startsWith("application/pdf")) {