mirror of
https://github.com/labring/FastGPT.git
synced 2025-08-03 05:19:51 +00:00
External dataset (#1485)
* fix: revert version * feat: external collection * import context * external ui * doc * fix: ts * clear invalid data * feat: rename sub name * fix: node if else edge remove * fix: init * api size * fix: if else node refresh
This commit is contained in:
14
projects/app/src/components/common/NextHead/index.tsx
Normal file
14
projects/app/src/components/common/NextHead/index.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import Head from 'next/head';
|
||||
import React from 'react';
|
||||
|
||||
const NextHead = ({ title, icon, desc }: { title?: string; icon?: string; desc?: string }) => {
|
||||
return (
|
||||
<Head>
|
||||
<title>{title}</title>
|
||||
{desc && <meta name="description" content={desc} />}
|
||||
{icon && <link rel="icon" href={icon} />}
|
||||
</Head>
|
||||
);
|
||||
};
|
||||
|
||||
export default NextHead;
|
Reference in New Issue
Block a user