Rewrote app to use hooks and fixed multiple re-renders.

This commit is contained in:
Patrick Fic
2019-12-11 18:39:27 -08:00
parent 5c7523e6bd
commit f333301f67
16 changed files with 162 additions and 193 deletions

View File

@@ -1,12 +1,12 @@
import React from "react";
import { Typography } from "antd";
import HeaderContainer from "../../components/header/header.container";
import HeaderComponent from "../../components/header/header.component";
export default function LandingPage() {
return (
<div>
<HeaderContainer landingHeader />
<HeaderComponent landingHeader />
<Typography.Title>
Welcome to bodyshop.app.
</Typography.Title>