Merge pull request #422 from vector-im/dbkr/fix_imports

Fix js-sdk imports to be from src
This commit is contained in:
David Baker 2022-06-29 13:47:31 +01:00 committed by GitHub
commit a7f0ade83a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {