remove references to error message non-react overlay
This commit is contained in:
parent
a6bde60b1d
commit
711c2d1b75
@ -9,7 +9,6 @@ import { GuildMetadata } from '../data-types';
|
||||
import Q from '../q-module';
|
||||
import UI from '../ui';
|
||||
|
||||
import createErrorMessageOverlay from './overlay-error-message';
|
||||
import createCreateInviteTokenOverlay from './overlay-create-invite-token';
|
||||
import createCreateChannelOverlay from './overlay-create-channel';
|
||||
import createTokenLogOverlay from './overlay-token-log';
|
||||
|
@ -10,7 +10,6 @@ import ElementsUtil from './require/elements-util';
|
||||
import Q from '../q-module';
|
||||
import UI from '../ui';
|
||||
import GuildsManager from '../guilds-manager';
|
||||
import createErrorMessageOverlay from './overlay-error-message';
|
||||
import AddGuildOverlay from './overlays/overlay-add-guild';
|
||||
import React from 'react';
|
||||
import ErrorMessageOverlay from './overlays/overlay-error-message';
|
||||
|
@ -1,11 +0,0 @@
|
||||
import React from 'react';
|
||||
import BaseElements, { HTMLElementWithRemoveSelf } from './require/base-elements.js';
|
||||
|
||||
export default function createErrorMessageOverlay(document: Document, title: string, message: string): HTMLElementWithRemoveSelf {
|
||||
return BaseElements.createOverlay(document, (
|
||||
<div className="content error-message">
|
||||
<div className="title">{title}</div>
|
||||
<div className="message">{message}</div>
|
||||
</div>
|
||||
));
|
||||
}
|
Loading…
Reference in New Issue
Block a user