Merge pull request #422 from vector-im/dbkr/fix_imports
Fix js-sdk imports to be from src
This commit is contained in:
commit
a7f0ade83a
1 changed files with 4 additions and 7 deletions
|
@ -14,13 +14,10 @@ See the License for the specific language governing permissions and
|
||||||
limitations under the License.
|
limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import {
|
import { MatrixClient } from "matrix-js-sdk/src/client";
|
||||||
FileType,
|
import { MatrixEvent } from "matrix-js-sdk/src/models/event";
|
||||||
MatrixClient,
|
import { User, UserEvent } from "matrix-js-sdk/src/models/user";
|
||||||
MatrixEvent,
|
import { FileType } from "matrix-js-sdk/src/http-api";
|
||||||
User,
|
|
||||||
UserEvent,
|
|
||||||
} from "matrix-js-sdk";
|
|
||||||
import { useState, useCallback, useEffect } from "react";
|
import { useState, useCallback, useEffect } from "react";
|
||||||
|
|
||||||
interface ProfileLoadState {
|
interface ProfileLoadState {
|
||||||
|
|
Loading…
Add table
Reference in a new issue