remove references to error message non-react overlay

This commit is contained in:
Michael Peters 2021-12-09 00:16:14 -06:00
parent a6bde60b1d
commit 711c2d1b75
3 changed files with 0 additions and 13 deletions

View File

@ -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';

View File

@ -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';

View File

@ -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>
));
}