Skip to content

Commit 7b0cc79

Browse files
committed
Controlled.tsx, utils.ts: fix linting errors
1 parent b5a9b43 commit 7b0cc79

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/Controlled.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ class ControlledBase extends React.Component<ControlledPropsWithDefaults, Contro
113113
swipeToUnzoomThreshold: 10,
114114
wrapElement: 'div',
115115
zoomMargin: 0,
116-
zoomAlignmentY: 'center'
116+
zoomAlignmentY: 'center',
117117
}
118118

119119
state: ControlledState = {
@@ -164,7 +164,7 @@ class ControlledBase extends React.Component<ControlledPropsWithDefaults, Contro
164164
ZoomContent,
165165
zoomImg,
166166
zoomMargin,
167-
zoomAlignmentY
167+
zoomAlignmentY,
168168
},
169169
refContent,
170170
refDialog,
@@ -231,7 +231,7 @@ class ControlledBase extends React.Component<ControlledPropsWithDefaults, Contro
231231
offset: zoomMargin,
232232
shouldRefresh,
233233
targetEl: imgEl as SupportedImage,
234-
zoomAlignmentY
234+
zoomAlignmentY,
235235
})
236236
: {}
237237

source/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ export const getStyleModalImg: GetStyleModalImg = ({
451451
offset,
452452
shouldRefresh,
453453
targetEl,
454-
zoomAlignmentY
454+
zoomAlignmentY,
455455
}) => {
456456
const hasScalableSrc =
457457
isSvg ||

0 commit comments

Comments
 (0)