mirror of
https://github.com/marcogll/TaxHacker_s23.git
synced 2026-01-13 21:35:19 +00:00
BREAKING: postgres + saas
This commit is contained in:
@@ -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>
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user