Meta component changes in definition

This commit is contained in:
tmshv committed 2020-02-23 22:54:15 +03:00
1 parent c4bf06f10a
commit 8c57c69583
1 file changed
+3 -4
+3 -4
View File
@@ -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} />