Rewrote app to use hooks and fixed multiple re-renders.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user