chore(template): remove comments
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
import React, { ElementType, Fragment } from 'react'
|
import React, { Fragment } from 'react'
|
||||||
|
|
||||||
import { Image } from './Image'
|
import { Image } from './Image'
|
||||||
import { Props } from './types'
|
import { Props } from './types'
|
||||||
@@ -20,10 +20,8 @@ export const Media: React.FC<Props> = props => {
|
|||||||
: {})}
|
: {})}
|
||||||
>
|
>
|
||||||
{isVideo ? (
|
{isVideo ? (
|
||||||
// @ts-expect-error
|
|
||||||
<Video {...props} />
|
<Video {...props} />
|
||||||
) : (
|
) : (
|
||||||
// @ts-expect-error
|
|
||||||
<Image {...props} /> // eslint-disable-line
|
<Image {...props} /> // eslint-disable-line
|
||||||
)}
|
)}
|
||||||
</Tag>
|
</Tag>
|
||||||
|
|||||||
Reference in New Issue
Block a user