removed Dialog from component names and changed -modal to -form

This commit is contained in:
Oliver Bryan
2026-01-21 12:26:19 +00:00
parent 7514a46d36
commit c766615d12
13 changed files with 34 additions and 39 deletions

View File

@@ -1,6 +1,6 @@
import { useEffect, useMemo, useState } from "react";
import { toast } from "sonner";
import { OrganisationModal } from "@/components/organisation-modal";
import { OrganisationForm } from "@/components/organisation-form";
import { useSelection } from "@/components/selection-provider";
import { Button } from "@/components/ui/button";
import {
@@ -102,7 +102,7 @@ export function OrganisationSelect({
{organisations.length > 0 && <SelectSeparator />}
</SelectGroup>
<OrganisationModal
<OrganisationForm
trigger={
<Button variant="ghost" className={"w-full"} size={"sm"}>
Create Organisation