From 677ecfd28ee5920cc1004de63676cdb3bde9e2b8 Mon Sep 17 00:00:00 2001 From: Alex Zhu Date: Wed, 6 May 2026 18:35:06 +0800 Subject: [PATCH] fix: replace deprecated Divider `type` prop with `orientation` (#11762) Co-authored-by: Claude Opus 4.7 --- CLAUDE.md | 2 +- src/components/Footer/index.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 0472dd71..c8d0b9f7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -125,7 +125,7 @@ Each page directory contains its own index.tsx, optional service.ts, _mock.ts, d - `npx antd demo ` — get working demo code - `npx antd token ` — check design tokens - `npx antd semantic ` — check semantic classNames -- `npx antd lint ./src` — find deprecated or problematic antd usage +- `npx antd lint ./src` — find deprecated or problematic antd usage. **Must pass with zero errors and warnings before committing** - `npx antd doctor` — diagnose project configuration issues - `npx antd migrate ` — migration checklist between versions - Always use `--format json` for structured output diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index 9f5f0a04..f6e41ff3 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -92,7 +92,7 @@ const Footer: React.FC = () => { )} - + Umi { {__UMI_VERSION__} - + Utoo { {__UTOO_VERSION__} - +