next.js打包忽略eslint和typescript报错导致打包失败的问题 ant-design引入兼容包,以兼容React19 eslint配置文件由json更换成js 反馈内容由写死的改为获取当前的conversationid会话ID,反馈的用户名称username从cookie里获取 反馈弹窗弹出时使用Promise异步等待如果没有点击确定,则不传递给dify已反馈成功请求
18 lines
396 B
TypeScript
18 lines
396 B
TypeScript
"use client"
|
|
import type { FC } from 'react'
|
|
import React from 'react'
|
|
|
|
import type { IMainProps } from '@/app/components'
|
|
import ChatWithHistoryWrapWithCheckToken from '@/app/components/chat-with-history'
|
|
import '@ant-design/v5-patch-for-react-19';
|
|
|
|
const App: FC<IMainProps> = ({
|
|
params,
|
|
}: any) => {
|
|
return (
|
|
<ChatWithHistoryWrapWithCheckToken />
|
|
)
|
|
}
|
|
|
|
export default React.memo(App)
|