diff --git a/app/javascript/gabsocial/features/ui/ui.js b/app/javascript/gabsocial/features/ui/ui.js index e8de9455..778b1fa2 100644 --- a/app/javascript/gabsocial/features/ui/ui.js +++ b/app/javascript/gabsocial/features/ui/ui.js @@ -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, diff --git a/app/javascript/gabsocial/features/ui/util/page_title.js b/app/javascript/gabsocial/features/ui/util/page_title.js index 4f80c404..c9bb8b50 100644 --- a/app/javascript/gabsocial/features/ui/util/page_title.js +++ b/app/javascript/gabsocial/features/ui/util/page_title.js @@ -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})` : '' diff --git a/app/javascript/gabsocial/pages/deck_page.js b/app/javascript/gabsocial/pages/deck_page.js index 316063f0..3f41124e 100644 --- a/app/javascript/gabsocial/pages/deck_page.js +++ b/app/javascript/gabsocial/pages/deck_page.js @@ -10,7 +10,7 @@ class DeckPage extends React.PureComponent { return ( - + {children} )