From 14ace2805a323655fa819edf26bcdf8e5e8e721c Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Mon, 17 Oct 2022 17:30:29 +0800 Subject: [PATCH] chore: remove experimental warning (#38061) * chore: remove experimental warning * chore: code clean --- components/theme/util/genComponentStyleHook.ts | 14 -------------- site/theme/template/Layout/Header/Logo.less | 1 + 2 files changed, 1 insertion(+), 14 deletions(-) diff --git a/components/theme/util/genComponentStyleHook.ts b/components/theme/util/genComponentStyleHook.ts index 0f1d3985b8..d27cb959c6 100644 --- a/components/theme/util/genComponentStyleHook.ts +++ b/components/theme/util/genComponentStyleHook.ts @@ -7,7 +7,6 @@ import { ConfigContext } from '../../config-provider/context'; import type { UseComponentStyleResult } from '../index'; import { mergeToken, statisticToken, useToken } from '../index'; import type { ComponentTokenMap, GlobalToken } from '../interface'; -import warning from '../../_util/warning'; export type OverrideTokenWithoutDerivative = ComponentTokenMap; export type OverrideComponent = keyof OverrideTokenWithoutDerivative; @@ -48,19 +47,6 @@ export default function genComponentStyleHook [ { diff --git a/site/theme/template/Layout/Header/Logo.less b/site/theme/template/Layout/Header/Logo.less index 8d017e706e..0c932ad222 100644 --- a/site/theme/template/Layout/Header/Logo.less +++ b/site/theme/template/Layout/Header/Logo.less @@ -24,6 +24,7 @@ img { height: 32px; margin-right: 12px; + vertical-align: middle; .ant-row-rtl & { margin-right: 0;