Fix invalid element type error

This commit is contained in:
LordMathis 2019-01-14 20:30:34 +01:00
parent 486bba76d1
commit 4d1d2a4825
3 changed files with 2 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import React, {Component} from 'react';
import axios from 'axios';
import {About, Blog, Home, Wrapper} from '../components';
export default class BlogContainer extends Component {
export default class MainContainer extends Component {
constructor() {
super();

View File

@ -1,5 +1,4 @@
import { MainContainer, PostContainer } from '../containers'
import { NotFoundWrapper } from '../components';
import { getData } from './api'
const routes = [

View File

@ -2,7 +2,7 @@
import React from 'react'
import { renderToString } from 'react-dom/server'
import { StaticRouter as Router, matchPath } from 'react-router-dom'
import { App } from '../components/App'
import { App } from '../components'
import routes from './routes'
export function serverRender(req, res, next) {