diff --git a/src/client/webapp/elements/context-menu-guild-title.tsx b/src/client/webapp/elements/context-menu-guild-title.tsx index 09c26ee..838feb6 100644 --- a/src/client/webapp/elements/context-menu-guild-title.tsx +++ b/src/client/webapp/elements/context-menu-guild-title.tsx @@ -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'; diff --git a/src/client/webapp/elements/events-add-guild.tsx b/src/client/webapp/elements/events-add-guild.tsx index 3103d73..fecb95e 100644 --- a/src/client/webapp/elements/events-add-guild.tsx +++ b/src/client/webapp/elements/events-add-guild.tsx @@ -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'; diff --git a/src/client/webapp/elements/overlay-error-message.tsx b/src/client/webapp/elements/overlay-error-message.tsx deleted file mode 100644 index 32071a3..0000000 --- a/src/client/webapp/elements/overlay-error-message.tsx +++ /dev/null @@ -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, ( -
-
{title}
-
{message}
-
- )); -}