BREAKING: postgres + saas

This commit is contained in:
Vasily Zubarev
2025-04-03 13:07:54 +02:00
parent 54a892ddb0
commit f523b1f8ba
136 changed files with 3971 additions and 1563 deletions

View File

@@ -1,3 +1,5 @@
export function FormError({ children }: { children: React.ReactNode }) {
return <p className="text-red-500 mt-4 overflow-hidden">{children}</p>
import { cn } from "@/lib/utils"
export function FormError({ children, className }: { children: React.ReactNode; className?: string }) {
return <p className={cn("text-red-500 mt-4 overflow-hidden", className)}>{children}</p>
}

View File

@@ -1,4 +1,3 @@
import { Currency } from "@prisma/client"
import { SelectProps } from "@radix-ui/react-select"
import { useMemo } from "react"
import { FormSelect } from "./simple"
@@ -12,7 +11,7 @@ export const FormSelectCurrency = ({
...props
}: {
title: string
currencies: Currency[]
currencies: { code: string; name: string }[]
emptyValue?: string
placeholder?: string
hideIfEmpty?: boolean