feat: 1.统一右侧抽屉关闭按钮布局 2.统一 UI 组件为 Ant Design 移除 radix-ui、floating-ui 组件 3. 修复 ESLint 文件格式错误的问题
This commit is contained in:
@@ -105,7 +105,10 @@ const Playground = ({ isExperienceMode = false }) => {
|
||||
// 用的是那一个;这里把全局应用 status 单独命名 appStatus 以避免遮蔽。
|
||||
const appStatus = statusState?.status;
|
||||
const isMobile = useIsMobile();
|
||||
const styleState = { isMobile, isExperienceMode };
|
||||
const styleState = useMemo(
|
||||
() => ({ isMobile, isExperienceMode }),
|
||||
[isMobile, isExperienceMode],
|
||||
);
|
||||
const [searchParams] = useSearchParams();
|
||||
|
||||
const state = usePlaygroundState({ experienceMode: isExperienceMode });
|
||||
|
||||
Reference in New Issue
Block a user