From f26239c2c66861cfabdf8543d1d8a245b7f2dc49 Mon Sep 17 00:00:00 2001 From: panshuai-ps Date: Tue, 6 Jun 2023 17:44:39 +0800 Subject: [PATCH 1/3] fix: delete app.tsx --- ui/src/app.tsx | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 ui/src/app.tsx diff --git a/ui/src/app.tsx b/ui/src/app.tsx deleted file mode 100644 index 55411030..00000000 --- a/ui/src/app.tsx +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright The Karbour Authors. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - - -import { ConfigProvider } from 'antd'; -import dayjs from 'dayjs'; -import 'dayjs/locale/zh-cn'; -import zhCN from 'antd/locale/zh_CN'; -import Index from "./views/Index"; - - -dayjs.locale('zh-cn'); - -function App() { - return ( - - - - ); -} - -export default App; From f5a3ab9a1faa8a0431d239c52293f53aef90ba96 Mon Sep 17 00:00:00 2001 From: panshuai-ps Date: Tue, 6 Jun 2023 17:47:18 +0800 Subject: [PATCH 2/3] fix: add app.tsx --- ui/src/App.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 ui/src/App.tsx diff --git a/ui/src/App.tsx b/ui/src/App.tsx new file mode 100644 index 00000000..2e0270b3 --- /dev/null +++ b/ui/src/App.tsx @@ -0,0 +1,20 @@ + +import { ConfigProvider } from 'antd'; +import dayjs from 'dayjs'; +import 'dayjs/locale/zh-cn'; +import zhCN from 'antd/locale/zh_CN'; +import Index from "./views/Index"; + + +dayjs.locale('zh-cn'); + +function App() { + return ( + + + + ); +} + +export default App; + From 2e5bc76b1055efc171e1439bad040d82d5b78c57 Mon Sep 17 00:00:00 2001 From: panshuai-ps Date: Tue, 6 Jun 2023 17:58:09 +0800 Subject: [PATCH 3/3] fix: add license --- ui/src/App.tsx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 2e0270b3..30a3ce24 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -1,3 +1,19 @@ +/* + * Copyright The Karbour Authors. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + import { ConfigProvider } from 'antd'; import dayjs from 'dayjs';