/* eslint-disable import/no-named-as-default */
import React from 'react';
import PropTypes from 'prop-types';

import RegisterComponent from "./RegisterComponent";
import LoginComponent from "./LoginComponent";
import NavbarComponent from "./NavbarComponent";

// This is a class-based component because the current
// version of hot reloading won't hot reload a stateless
// component at the top-level.

class App extends React.Component {
  render() {
    return (
      <RegisterComponent/>
    );
  }
}

App.propTypes = {
  children: PropTypes.element
};

export default App;

/* eslint-disable import/no-named-as-default */
import React from 'react';
import PropTypes from 'prop-types';

import RegisterComponent from "./RegisterComponent";
import LoginComponent from "./LoginComponent";
import NavbarComponent from "./NavbarComponent";
import ProfileSettingComponent from './ProfileSettingComponent'
import ShowComponent from "./ShowComponent";
// This is a class-based component because the current
// version of hot reloading won't hot reload a stateless
// component at the top-level.

class App extends React.Component {
  render() {
    return (
      <ShowComponent/>
    );
  }
}

App.propTypes = {
  children: PropTypes.element
};

export default App;

update Login Component - register