Load images as both binary strings and blobs.

This commit is contained in:
Jason Miller
2018-03-30 16:26:00 -04:00
parent d023263f57
commit fbcd16063d
2 changed files with 12 additions and 6 deletions

View File

@@ -28,7 +28,7 @@ export default class Home extends Component<Props, State> {
return (
<div class={style.home + ' ' + (active ? style.active : '')}>
{ files && files[0] && (
<img src={files[0].data} />
<img src={files[0].uri} style="width:100%;" />
) }
</div>
);