Commit 785b50b5 authored by David Rhoderick's avatar David Rhoderick
Browse files

Removing unused variable.

parent 8fd47d98
......@@ -25,7 +25,6 @@ import PageError from './page-error'
const Root = ({state}) => {
const data = state.source.get(state.router.link)
const post = state.source[data.type][data.id]
useEffect(() => {
(function(d) {
......@@ -190,7 +189,7 @@ const Root = ({state}) => {
<Switch>
<Loading when={data.isLoading} />
<Home when={data.isHome} />
<Post when={data.isPostType} />
<Post when={data.isPostType} /> {/* Lazar: Start here*/ }
{/* <Archive when={data.isArchive || data.isHome} /> */}
<PageError when={data.isError} />
</Switch>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment