mirror of
https://github.com/documenso/documenso.git
synced 2025-11-15 17:21:41 +10:00
fix
This commit is contained in:
@ -32,7 +32,7 @@ export default function FieldTypeSelector(props: any) {
|
||||
<div className="space-y-4">
|
||||
{fieldTypes.map((fieldType) => (
|
||||
<RadioGroup.Option
|
||||
onMouseDown={(e) => {
|
||||
onMouseDown={(e: any) => {
|
||||
if (e.button === 0) setSelectedFieldType(fieldType.id);
|
||||
}}
|
||||
key={fieldType.id}
|
||||
|
||||
@ -45,7 +45,7 @@ export default function PDFViewer(props) {
|
||||
{Array.from({ length: numPages }, (_, index) => (
|
||||
<Fragment key={short.generate().toString()}>
|
||||
<div
|
||||
onMouseDown={(e) => {
|
||||
onMouseDown={(e: any) => {
|
||||
if (e.button === 0) props.onMouseDown(e, index);
|
||||
}}
|
||||
onMouseUp={(e) => {
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@ -8686,7 +8686,7 @@
|
||||
"nodemailer": "^6.9.0",
|
||||
"nodemailer-sendgrid": "^1.0.3",
|
||||
"npm": "^9.1.3",
|
||||
"pdf-lib": "*",
|
||||
"pdf-lib": "^1.17.1",
|
||||
"placeholder-loading": "^0.6.0",
|
||||
"postcss": "^8.4.19",
|
||||
"react": "18.2.0",
|
||||
|
||||
Reference in New Issue
Block a user