mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-09-13 21:21:08 +00:00
feat: Handle merge errors
This commit is contained in:
@@ -38,6 +38,7 @@ interface IChatContext {
|
|||||||
};
|
};
|
||||||
setCurrentDialogInfo: (val: { chat_scene: string; app_code: string }) => void;
|
setCurrentDialogInfo: (val: { chat_scene: string; app_code: string }) => void;
|
||||||
adminList: UserInfoResponse[];
|
adminList: UserInfoResponse[];
|
||||||
|
refreshDialogList?: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getDefaultTheme(): ThemeMode {
|
function getDefaultTheme(): ThemeMode {
|
||||||
@@ -71,6 +72,7 @@ const ChatContext = createContext<IChatContext>({
|
|||||||
},
|
},
|
||||||
setCurrentDialogInfo: () => {},
|
setCurrentDialogInfo: () => {},
|
||||||
adminList: [],
|
adminList: [],
|
||||||
|
refreshDialogList: () => {},
|
||||||
});
|
});
|
||||||
|
|
||||||
const ChatContextProvider = ({ children }: { children: React.ReactElement }) => {
|
const ChatContextProvider = ({ children }: { children: React.ReactElement }) => {
|
||||||
|
@@ -1,4 +1,5 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
/** @type {import('next').NextConfig} */
|
||||||
|
const CopyPlugin = require('copy-webpack-plugin');
|
||||||
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
const MonacoWebpackPlugin = require('monaco-editor-webpack-plugin');
|
||||||
const path = require('path');
|
const path = require('path');
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
|
2851
web_new/package-lock.json
generated
2851
web_new/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user