mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 17:51:49 +10:00
fix: build errors
This commit is contained in:
@ -50,7 +50,7 @@ export const DocumentSigningRadioField = ({
|
||||
|
||||
const [selectedOption, setSelectedOption] = useState(defaultValue);
|
||||
|
||||
const { executeActionAuthProcedure } = useRequiredDocumentSigningAuthContext();
|
||||
const { executeActionAuthProcedure, isEnterprise } = useRequiredDocumentSigningAuthContext();
|
||||
|
||||
const { mutateAsync: signFieldWithToken, isPending: isSignFieldWithTokenLoading } =
|
||||
trpc.field.signFieldWithToken.useMutation(DO_NOT_INVALIDATE_QUERY_ON_MUTATION);
|
||||
@ -144,6 +144,7 @@ export const DocumentSigningRadioField = ({
|
||||
void executeActionAuthProcedure({
|
||||
onReauthFormSubmit: async (authOptions) => await onSign(authOptions),
|
||||
actionTarget: field.type,
|
||||
isEnterprise,
|
||||
});
|
||||
}
|
||||
}, [selectedOption, field]);
|
||||
|
||||
Reference in New Issue
Block a user