mirror of
https://github.com/documenso/documenso.git
synced 2025-11-16 09:41:35 +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) => {
|
||||
|
||||
Reference in New Issue
Block a user