diff --git a/frontend/app/(home)/organization/page.tsx b/frontend/app/(home)/organization/page.tsx index 98dcbf5c..c274820a 100644 --- a/frontend/app/(home)/organization/page.tsx +++ b/frontend/app/(home)/organization/page.tsx @@ -152,7 +152,6 @@ export default function OrganizationPage() { } catch (err) { setError('Failed to create organization'); } - throw new Error('Failed to create organization'); }; const myOrganizations = organizations.filter(org => org.isMember); diff --git a/frontend/components/CreateOrganizationForm/CreateOrganizationForm.tsx b/frontend/components/CreateOrganizationForm/CreateOrganizationForm.tsx index ca3fb361..1e825f2d 100644 --- a/frontend/components/CreateOrganizationForm/CreateOrganizationForm.tsx +++ b/frontend/components/CreateOrganizationForm/CreateOrganizationForm.tsx @@ -10,7 +10,7 @@ import Image from 'next/image'; interface CreateOrganizationFormProps { isOpen: boolean; onClose: () => void; - onCreate: (newOrg: FormData) => Promise; + onCreate: (newOrg: FormData) => Promise; } const CreateOrganizationForm: React.FC = ({ isOpen, onClose, onCreate }) => {