mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
remove showDeleteConfirm function and center the Empty of knowledge list and extract the text of the login page to en.json (#203)
feat: remove showDeleteConfirm function feat: center the Empty of knowledge list feat: extract the text of the login page to en.json #204
This commit is contained in:
@ -1,16 +1,16 @@
|
||||
import { ConfigProvider } from 'antd';
|
||||
import React, { ReactNode } from 'react';
|
||||
import { App, ConfigProvider } from 'antd';
|
||||
import { ReactNode } from 'react';
|
||||
|
||||
export function rootContainer(container: ReactNode) {
|
||||
return React.createElement(
|
||||
ConfigProvider,
|
||||
{
|
||||
theme: {
|
||||
return (
|
||||
<ConfigProvider
|
||||
theme={{
|
||||
token: {
|
||||
fontFamily: 'Inter',
|
||||
},
|
||||
},
|
||||
},
|
||||
container,
|
||||
}}
|
||||
>
|
||||
<App> {container}</App>
|
||||
</ConfigProvider>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user