From c49e3002476f204ebf1114c77cd2a1322261babf Mon Sep 17 00:00:00 2001 From: David Baker Date: Wed, 29 Jun 2022 10:31:17 +0100 Subject: [PATCH] Fix js-sdk imports to be from src (For a curious definition of 'fix') --- src/profile/useProfile.ts | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/profile/useProfile.ts b/src/profile/useProfile.ts index 4eadcd8..768bae9 100644 --- a/src/profile/useProfile.ts +++ b/src/profile/useProfile.ts @@ -14,13 +14,10 @@ See the License for the specific language governing permissions and limitations under the License. */ -import { - FileType, - MatrixClient, - MatrixEvent, - User, - UserEvent, -} from "matrix-js-sdk"; +import { MatrixClient } from "matrix-js-sdk/src/client"; +import { MatrixEvent } from "matrix-js-sdk/src/models/event"; +import { User, UserEvent } from "matrix-js-sdk/src/models/user"; +import { FileType } from "matrix-js-sdk/src/http-api"; import { useState, useCallback, useEffect } from "react"; interface ProfileLoadState {