فهرست منبع

Fix the setEffort arrow shorthand lint finding

imccyu 2 ماه پیش
والد
کامیت
3025a324cd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      packages/client/ui-model/src/client/index.ts

+ 1 - 1
packages/client/ui-model/src/client/index.ts

@@ -114,7 +114,7 @@ export function apply(ctx: ClientContext): void {
           directory: directory.store,
           directory: directory.store,
           load: () => { directory.load().catch(() => { /* surfaced on the store */ }) },
           load: () => { directory.load().catch(() => { /* surfaced on the store */ }) },
           select: (target: ModelTarget) => directory.select(target).then(() => true, () => false),
           select: (target: ModelTarget) => directory.select(target).then(() => true, () => false),
-          setEffort: effort => directory.setEffort(effort),
+          setEffort: (effort) => { directory.setEffort(effort) },
         }
         }
       },
       },
     }, ModelSelect), 'ui-model: composer model seat registration')
     }, ModelSelect), 'ui-model: composer model seat registration')