This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch test
in repository https://gitbox.apache.org/repos/asf/answer.git
The following commit(s) were added to refs/heads/test by this push:
new 5ad97801 fix: Optimize the export method of internal components
5ad97801 is described below
commit 5ad97801b0aa58b40551e6686c20af0e5bb1bb84
Author: shuai <[email protected]>
AuthorDate: Tue Sep 23 10:50:40 2025 +0800
fix: Optimize the export method of internal components
---
ui/src/pages/Users/Notifications/components/index.ts | 4 ++++
ui/src/pages/Users/Notifications/index.tsx | 3 +--
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/ui/src/pages/Users/Notifications/components/index.ts
b/ui/src/pages/Users/Notifications/components/index.ts
new file mode 100644
index 00000000..f8183485
--- /dev/null
+++ b/ui/src/pages/Users/Notifications/components/index.ts
@@ -0,0 +1,4 @@
+import Inbox from './Inbox';
+import Achievements from './Achievements';
+
+export { Inbox, Achievements };
diff --git a/ui/src/pages/Users/Notifications/index.tsx
b/ui/src/pages/Users/Notifications/index.tsx
index 28ca9dd1..4b7fc9ec 100644
--- a/ui/src/pages/Users/Notifications/index.tsx
+++ b/ui/src/pages/Users/Notifications/index.tsx
@@ -33,8 +33,7 @@ import {
} from '@/services';
import { floppyNavigation } from '@/utils';
-import Inbox from './components/Inbox';
-import Achievements from './components/Achievements';
+import { Inbox, Achievements } from './components';
import './index.scss';
const PAGE_SIZE = 10;