Meta component changes in definition
This commit is contained in:
1 parent
c4bf06f10a
commit
8c57c69583
1 file changed
+3
-4
@@ -1,11 +1,10 @@
|
|||||||
import * as React from 'react'
|
import { IMeta } from 'src/types'
|
||||||
import { IMeta } from '../../types'
|
|
||||||
|
|
||||||
export interface IMetaProps {
|
export type MetaProps = {
|
||||||
meta: IMeta
|
meta: IMeta
|
||||||
}
|
}
|
||||||
|
|
||||||
export const Meta: React.FC<IMetaProps> = ({ meta }) => (
|
export const Meta: React.FC<MetaProps> = ({ meta }) => (
|
||||||
<>
|
<>
|
||||||
{/* Search Engine */}
|
{/* Search Engine */}
|
||||||
<meta name="description" content={meta.description} />
|
<meta name="description" content={meta.description} />
|
||||||
|
|||||||
Reference in new issue
Block a user