From fa50d38e671197ac333f99178fa3065a19ff834c Mon Sep 17 00:00:00 2001
From: bobzel <zzzman@gmail.com>
Date: Thu, 25 Apr 2024 17:39:54 -0400
Subject: minor lint cleanup

---
 src/client/views/OverlayView.tsx | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

(limited to 'src/client/views/OverlayView.tsx')

diff --git a/src/client/views/OverlayView.tsx b/src/client/views/OverlayView.tsx
index 960282a08..e1c248a7a 100644
--- a/src/client/views/OverlayView.tsx
+++ b/src/client/views/OverlayView.tsx
@@ -181,12 +181,7 @@ export class OverlayView extends ObservableReactComponent<{}> {
         return true;
     };
 
-    docScreenToLocalXf = computedFn(
-        // eslint-disable-next-line prefer-arrow-callback
-        function docScreenToLocalXf(this: any, doc: Doc) {
-            return () => new Transform(-NumCast(doc.overlayX), -NumCast(doc.overlayY), 1);
-        }
-    );
+    docScreenToLocalXf = computedFn((doc: Doc) => () => new Transform(-NumCast(doc.overlayX), -NumCast(doc.overlayY), 1));
 
     @computed get overlayDocs() {
         return Doc.MyOverlayDocs.filter(d => !LightboxView.LightboxDoc || d.type === DocumentType.PRES).map(d => {
-- 
cgit v1.2.3-70-g09d2

