Refactor layout components to include title prop and update header rendering; modify index and home pages for improved structure and icon usage
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
import "../App.css";
|
||||
import Layout from "../layout/Layout";
|
||||
import MainForm from "./MainForm";
|
||||
import "react-toastify/dist/ReactToastify.css";
|
||||
import React from "react";
|
||||
|
||||
function App() {
|
||||
const Home: React.FC = () => {
|
||||
return (
|
||||
<>
|
||||
<Layout>
|
||||
<Layout title="MCS Lose - Registrieren">
|
||||
<MainForm />
|
||||
</Layout>
|
||||
</>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
export default App;
|
||||
export default Home;
|
||||
|
Reference in New Issue
Block a user