diff --git a/components/breadcrumb/Breadcrumb.tsx b/components/breadcrumb/Breadcrumb.tsx index a3023f032f..278e82674a 100755 --- a/components/breadcrumb/Breadcrumb.tsx +++ b/components/breadcrumb/Breadcrumb.tsx @@ -105,7 +105,7 @@ export default class Breadcrumb extends React.Component { paths.push(path); } // generated overlay by route.children - let overlay = null; + let overlay; if (route.children && route.children.length) { overlay = ( diff --git a/components/breadcrumb/__tests__/__snapshots__/router.test.js.snap b/components/breadcrumb/__tests__/__snapshots__/router.test.js.snap index 715d805e7e..7c8a37e198 100644 --- a/components/breadcrumb/__tests__/__snapshots__/router.test.js.snap +++ b/components/breadcrumb/__tests__/__snapshots__/router.test.js.snap @@ -80,7 +80,6 @@ exports[`react router react router 3 1`] = ` > @@ -102,7 +101,6 @@ exports[`react router react router 3 1`] = ` @@ -124,7 +122,6 @@ exports[`react router react router 3 1`] = ` @@ -146,7 +143,6 @@ exports[`react router react router 3 1`] = ` diff --git a/components/config-provider/__tests__/__snapshots__/components.test.js.snap b/components/config-provider/__tests__/__snapshots__/components.test.js.snap index 582f618375..1155d28cc8 100644 --- a/components/config-provider/__tests__/__snapshots__/components.test.js.snap +++ b/components/config-provider/__tests__/__snapshots__/components.test.js.snap @@ -11772,7 +11772,7 @@ exports[`ConfigProvider components Table configProvider 1`] = `