diff --git a/src/app/components/button/button.tsx b/src/app/components/button/button.tsx index 6d0c377..5245285 100644 --- a/src/app/components/button/button.tsx +++ b/src/app/components/button/button.tsx @@ -66,4 +66,4 @@ const ButtonUi = React.forwardRef( ) ButtonUi.displayName = "Button" -export { Button, buttonVariants } \ No newline at end of file +export { buttonVariants } \ No newline at end of file diff --git a/src/app/dashboard/components/client/create-random-invoice/create-random-invoice.tsx b/src/app/dashboard/components/client/create-random-invoice/create-random-invoice.tsx new file mode 100644 index 0000000..8a80645 --- /dev/null +++ b/src/app/dashboard/components/client/create-random-invoice/create-random-invoice.tsx @@ -0,0 +1,13 @@ +"use client" + +import Button from "@/app/components/button/button" +import CreateRandomInvoiceButtonVM from "@/app/dashboard/vm/create-random-invoice-button-vm" +import { useDI } from "@/bootstrap/di/di-context" +import { useRef } from "react" + +export default function CreateRandomInvoiceContainer() { + const di = useDI() + const vm = useRef(di.resolve(CreateRandomInvoiceButtonVM)) + + return