chore: refactor components

This commit is contained in:
swve 2023-04-08 15:54:02 +02:00
parent ca5110e4f7
commit d6289edb29
21 changed files with 13 additions and 165 deletions

View file

@ -1,6 +1,5 @@
"use client";
import React from "react";
import Layout from "../../../components/UI/Layout";
import { Title } from "../../../components/UI/Elements/Styles/Title";
import { createNewOrganization } from "../../../services/organizations/orgs";
@ -34,7 +33,7 @@ const Organizations = () => {
};
return (
<Layout>
<div>
<Title>New Organization</Title>
Name: <input onChange={handleNameChange} type="text" />
<br />
@ -45,7 +44,7 @@ const Organizations = () => {
Email Address: <input onChange={handleEmailChange} type="text" />
<br />
<button onClick={handleSubmit}>Create</button>
</Layout>
</div>
);
};