You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-08-07 21:23:00 +03:00
Extract location utils from components (#8152)
* extract util functions from MLocationBody Signed-off-by: Kerry Archibald <kerrya@element.io> * disassemble mlocationbody Signed-off-by: Kerry Archibald <kerrya@element.io> * tidy and add copyrights Signed-off-by: Kerry Archibald <kerrya@element.io> * move types and utils from components/location to utils Signed-off-by: Kerry Archibald <kerrya@element.io> * i18n Signed-off-by: Kerry Archibald <kerrya@element.io> * empty line Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
@@ -19,7 +19,7 @@ import { mount } from 'enzyme';
|
||||
|
||||
import '../../../skinned-sdk';
|
||||
import { MapError } from '../../../../src/components/views/location/MapError';
|
||||
import { LocationShareError } from '../../../../src/components/views/location/LocationShareErrors';
|
||||
import { LocationShareError } from '../../../../src/utils/location';
|
||||
|
||||
describe('<MapError />', () => {
|
||||
const defaultProps = {
|
||||
|
Reference in New Issue
Block a user