Fix lodash imports

Signed-off-by: resynth1943 <resynth1943@tutanota.com>
This commit is contained in:
resynth1943 2020-08-26 23:04:56 +01:00
parent b294ec6427
commit 2c20afc047
16 changed files with 16 additions and 16 deletions

View file

@ -23,7 +23,7 @@ import {MatrixClientPeg} from '../MatrixClientPeg';
import QueryMatcher from './QueryMatcher';
import {PillCompletion} from './Components';
import * as sdk from '../index';
import _sortBy from 'lodash/sortBy';
import _sortBy from "lodash/sortBy";
import {makeGroupPermalink} from "../utils/permalinks/Permalinks";
import {ICompletion, ISelectionRange} from "./Autocompleter";
import FlairStore from "../stores/FlairStore";

View file

@ -27,7 +27,8 @@ import {PillCompletion} from './Components';
import * as sdk from '../index';
import {makeRoomPermalink} from "../utils/permalinks/Permalinks";
import {ICompletion, ISelectionRange} from "./Autocompleter";
import { uniqBy, sortBy } from 'lodash';
import uniqBy from "lodash/uniqBy";
import sortBy from "lodash/sortBy";
const ROOM_REGEX = /\B#\S*/g;