mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 06:03:38 +08:00
fix docs/spec/layout document title
This commit is contained in:
parent
b63d620625
commit
4284e77d29
@ -75,7 +75,7 @@ export default class ComponentDoc extends React.Component {
|
||||
|
||||
const { title, subtitle, filename } = meta;
|
||||
return (
|
||||
<DocumentTitle title={`${subtitle || ''} ${title} - Ant Design`}>
|
||||
<DocumentTitle title={`${subtitle || ''} ${title[locale] || title} - Ant Design`}>
|
||||
<article>
|
||||
<Affix className="toc-affix" offsetTop={16}>
|
||||
<ul className="toc demos-anchor">
|
||||
|
Loading…
Reference in New Issue
Block a user