refactor(organization): migrate to react-hook-form with zod validation

This commit is contained in:
Mauricio Siu
2025-02-25 23:33:26 -06:00
parent 7d77e14319
commit 8c2707c4ea
3 changed files with 96 additions and 46 deletions

View File

@@ -1,3 +1,5 @@
import { cn } from "@/lib/utils";
interface Props {
className?: string;
logoUrl?: string;
@@ -9,8 +11,7 @@ export const Logo = ({ className = "size-14", logoUrl }: Props) => {
<img
src={logoUrl}
alt="Organization Logo"
className={className}
style={{ objectFit: "contain" }}
className={cn(className, "object-contain rounded-sm")}
/>
);
}