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