Skip to content
This repository was archived by the owner on Apr 17, 2023. It is now read-only.

Commit 680dc65

Browse files
committed
imgix params on app icons
1 parent 72a3f3b commit 680dc65

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/js/HomeScreenPage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const AppItem = ({ website, imgixImageUrl, name, description }) => {
139139
size="64px"
140140
display="block"
141141
flexShrink="0"
142-
src={imgixImageUrl}
142+
src={`${imgixImageUrl}?auto=format&w=128&q=50`}
143143
alt={name}
144144
/>
145145
<Box ml={[0, 3, 3, 3]} mt={[3, 0, 0, 0]}>
@@ -188,8 +188,8 @@ class HomeScreenPage extends React.Component {
188188
render() {
189189
const loading =
190190
this.props.apps &&
191-
this.props.apps.loading ||
192-
!this.props.apps.topApps ||
191+
this.props.apps.loading ||
192+
!this.props.apps.topApps ||
193193
!this.props.apps.topApps.length
194194
return (
195195
<Box>

0 commit comments

Comments
 (0)