1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-24 20:36:40 +07:00

refactored react imports

This commit is contained in:
Fedor Katurov 2023-11-20 22:35:07 +06:00
parent a9a220273f
commit 7a7b7a4bf9
253 changed files with 679 additions and 479 deletions

View file

@ -1,4 +1,4 @@
import React, { VFC } from 'react';
import { VFC } from 'react';
import Head from 'next/head';
@ -20,7 +20,10 @@ const NodeHeadMetadata: VFC<NodeHeadMetadataProps> = () => {
<meta property="og:title" content={node.title} />
<meta property="og:type" content={node.type} />
<meta property="og:image" content={getURLFromString(node.thumbnail)} />
<meta property="og:image:secure_url" content={getURLFromString(node.thumbnail)} />
<meta
property="og:image:secure_url"
content={getURLFromString(node.thumbnail)}
/>
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:alt" content={node.description} />
<meta property="og:description" content={node.description} />