Remove sdk.getComponent()
where possible (#7091)
This commit is contained in:
parent
6d3ba0eb95
commit
f08c0b3592
15 changed files with 27 additions and 44 deletions
|
@ -44,6 +44,7 @@ export default class InfoDialog extends React.Component<IProps> {
|
|||
};
|
||||
|
||||
render() {
|
||||
// FIXME: Using a regular import will break the app
|
||||
const BaseDialog = sdk.getComponent('views.dialogs.BaseDialog');
|
||||
const DialogButtons = sdk.getComponent('views.elements.DialogButtons');
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue