diff --git a/src/components/Header.tsx b/src/components/Header.tsx index f572db3..a779e3f 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -6,7 +6,7 @@ import logo from "../images/logo.svg"; import { UserName } from "../components"; const Header = () => { return ( -
- {"JOhndow.near"} + {"Johndoe.near"}
{ diff --git a/src/components/index.ts b/src/components/index.ts index e647f5a..e2eef66 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -1,3 +1,4 @@ export { default as CustomInput } from "./CustomInput"; export { default as Header } from "./Header"; export { default as UserName } from "./UserName"; +export { default as PageHeading } from "./PageHeading"; diff --git a/src/layouts/GeneralLayout.tsx b/src/layouts/GeneralLayout.tsx index e29a095..88d8da7 100644 --- a/src/layouts/GeneralLayout.tsx +++ b/src/layouts/GeneralLayout.tsx @@ -4,6 +4,7 @@ const GeneralLayout: React.FC = ({ children }) => { return ({message}
; const onSubmit = (values: typeof initialValues) => { - console.log(values); + //Handle the form values -> make post request }; return (