Skip to content

Commit 8d87057

Browse files
lopisagilgur5
authored andcommitted
(example): fix broken image link
- `img` needs an `src` which can replace `background` inline CSS
1 parent bb3b56e commit 8d87057

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class App extends Component {
3232
</div>
3333
{trimmedDataURL
3434
? <img className={styles.sigImage}
35-
style={{backgroundImage: 'url(' + trimmedDataURL + ')'}} />
35+
src={trimmedDataURL} />
3636
: null}
3737
</div>
3838
}

0 commit comments

Comments
 (0)