1
0
Fork 0

chore: Fixing linter warnings

This commit is contained in:
Joost De Cock 2022-07-12 20:47:39 +02:00
parent 8225009e96
commit a32e73f2fc
28 changed files with 88 additions and 175 deletions

View file

@ -82,7 +82,7 @@ export const capitalize = string => string.charAt(0).toUpperCase() + string.slic
export const strapiImage = (img, sizes=['thumbnail', 'xlarge', 'large', 'medium', 'small', 'xsmall']) => {
const image = {
caption: img?.caption || '',
caption: img.caption || '',
w: img.width,
h: img.height,
url: img.url,