parent
889c5c562e
commit
5422c013e1
|
@ -48,7 +48,7 @@ import AboutPage from '../../pages/about_page'
|
|||
import LinkPage from '../../pages/link_page'
|
||||
import MessagesPage from '../../pages/messages_page'
|
||||
import ComposePage from '../../pages/compose_page'
|
||||
import DeckPage from '../../pages/compose_page'
|
||||
import DeckPage from '../../pages/deck_page'
|
||||
|
||||
import {
|
||||
About,
|
||||
|
|
|
@ -16,7 +16,7 @@ class PageTitle extends React.PureComponent {
|
|||
}
|
||||
|
||||
updatePageTitle = ({ badge, path}) => {
|
||||
let realPath = Array.isArray(path) ? path.join(' / ') : path
|
||||
let realPath = Array.isArray(path) ? path.join(' / ') : `${path}`
|
||||
realPath = realPath.trim()
|
||||
|
||||
const realBadge = !!badge ? `(${badge})` : ''
|
||||
|
|
|
@ -10,7 +10,7 @@ class DeckPage extends React.PureComponent {
|
|||
|
||||
return (
|
||||
<DeckLayout>
|
||||
<PageTitle path={'Deck'} />
|
||||
<PageTitle path='Deck' />
|
||||
{children}
|
||||
</DeckLayout>
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue