mirror of
https://github.com/filecoin-project/slate.git
synced 2024-12-24 17:44:50 +03:00
fix: remove logs to console
This commit is contained in:
parent
dc005c1ac8
commit
ebefdc9aad
@ -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")) {
|
||||
|
Loading…
Reference in New Issue
Block a user