This commit is contained in:
@@ -7,11 +7,11 @@ import { useState } from "react";
|
|||||||
export type ContractRecapProps = {
|
export type ContractRecapProps = {
|
||||||
opened: boolean;
|
opened: boolean;
|
||||||
close: () => void;
|
close: () => void;
|
||||||
|
contractName: string;
|
||||||
pdfUrl?: string;
|
pdfUrl?: string;
|
||||||
contractName?: string;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export function ContractRecap({ opened, close, pdfUrl, contractName }: ContractRecapProps) {
|
export function ContractRecap({ opened, close, contractName, pdfUrl }: ContractRecapProps) {
|
||||||
const [viewPdf, setViewPdf] = useState<boolean>(false);
|
const [viewPdf, setViewPdf] = useState<boolean>(false);
|
||||||
const form = useForm({
|
const form = useForm({
|
||||||
mode: "uncontrolled",
|
mode: "uncontrolled",
|
||||||
|
|||||||
Reference in New Issue
Block a user