mirror of
https://github.com/mue/mue.git
synced 2026-07-28 11:11:08 +02:00
style: codacy fixes
This commit is contained in:
@@ -52,7 +52,7 @@ export default function PhotoInformation(props) {
|
||||
img.onload = (event) => {
|
||||
setWidth(event.target.width);
|
||||
setHeight(event.target.height);
|
||||
}
|
||||
};
|
||||
img.src = (localStorage.getItem('ddgProxy') === 'true' && !props.info.offline && !props.url.startsWith('data:')) ? window.constants.DDG_IMAGE_PROXY + props.url : props.url;
|
||||
|
||||
// info is still there because we want the favourite button to work
|
||||
|
||||
Reference in New Issue
Block a user