Skip to content

Commit ee0e5b7

Browse files
committed
KTL-1241 fix: applied linting to new files after rebase
1 parent f1dc670 commit ee0e5b7

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@import '~react-gif-player/dist/gifplayer.min.css';
22

3-
.gif_player, .gif_player .play_button {
4-
font-family: inherit;
3+
.gif_player,
4+
.gif_player .play_button {
5+
font-family: inherit;
56
}

src/components/Markdown/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ const MODERN_SHORT_CODES = {
122122
<pre {...cls(props, 'ktl-text-2', styles.codeBlock)} />
123123
</div>
124124
),
125-
img: ({ src, ...props }) => {
125+
img: (({ src, ...props }) => {
126126
const url = useSiteURL();
127127
const { pathname } = new URL(src, url);
128128
const image = <img src={src} {...props} />;
@@ -134,7 +134,7 @@ const MODERN_SHORT_CODES = {
134134
) : (
135135
image
136136
);
137-
},
137+
}) as React.FC<JSX.IntrinsicElements['img']>,
138138

139139
// strong: props => <strong {...cls(props, 'ktl-')}/>,
140140
// hr: props => <hr {...cls(props, 'ktl-')}/>,

0 commit comments

Comments
 (0)