c7890ae0b1
* fix: metadata to react-dapp-v2 * fix: metadata react app with ethers * fix: metadata react app with web3 * feat: adds web3modal to web3 example dapp * feat: adds web3modal to ethers example dapp
18 lines
484 B
TypeScript
18 lines
484 B
TypeScript
import Head from "next/head";
|
|
import * as React from "react";
|
|
import { DEFAULT_APP_METADATA } from "../constants";
|
|
|
|
const Metadata = () => (
|
|
<Head>
|
|
<title>{DEFAULT_APP_METADATA.name}</title>
|
|
<meta name="description" content={DEFAULT_APP_METADATA.description} />
|
|
<meta name="url" content={DEFAULT_APP_METADATA.url} />
|
|
|
|
{DEFAULT_APP_METADATA.icons.map((icon, index) => (
|
|
<link key={index} rel="icon" href={icon} />
|
|
))}
|
|
</Head>
|
|
);
|
|
|
|
export default Metadata;
|