diff --git a/plugins/client-resources/src/index.ts b/plugins/client-resources/src/index.ts index 88f2e99293..c38ee33d15 100644 --- a/plugins/client-resources/src/index.ts +++ b/plugins/client-resources/src/index.ts @@ -20,8 +20,6 @@ import { connect } from './connection' export { connect } -let client: Promise | Client | undefined - /*! * Anticrm Platform™ Client Plugin * © 2020, 2021 Anticrm Platform Contributors. All Rights Reserved. @@ -30,6 +28,7 @@ let client: Promise | Client | undefined // eslint-disable-next-line @typescript-eslint/explicit-function-return-type export default async () => { let _token: string | undefined + let client: Promise | Client | undefined return { function: {