From c864ad7430ee1ba050dee9366477e80e4645a4f9 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Fri, 24 Nov 2023 11:11:40 +0100 Subject: [PATCH] Update FriendNotifications.plugin.js --- .../FriendNotifications.plugin.js | 21 +------------------ 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/Plugins/FriendNotifications/FriendNotifications.plugin.js b/Plugins/FriendNotifications/FriendNotifications.plugin.js index 77dd65fbc4..afc03a7761 100644 --- a/Plugins/FriendNotifications/FriendNotifications.plugin.js +++ b/Plugins/FriendNotifications/FriendNotifications.plugin.js @@ -191,26 +191,7 @@ module.exports = (_ => { ] }) ] - }) : BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.Flex, { - className: BDFDB.disCN.pageimagewrapper, - direction: BDFDB.LibraryComponents.Flex.Direction.VERTICAL, - align: BDFDB.LibraryComponents.Flex.Align.CENTER, - children: [ - BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCNS.pageimage + BDFDB.disCNS.margintop20 + BDFDB.disCN.marginbottom20, - style: { - flex: "0 1 auto", - background: `url("${BDFDB.DiscordUtils.getTheme() == BDFDB.disCN.themelight ? "/assets/a72746e7108167af95c8.svg" : "/assets/01864c39871ce619d855.svg"}") center/contain no-repeat`, - width: "415px", - height: "200px" - } - }), - BDFDB.ReactUtils.createElement("div", { - className: BDFDB.disCN.pageimagetext, - children: BDFDB.LanguageUtils.LanguageStrings.AUTOCOMPLETE_NO_RESULTS_HEADER - }) - ] - }); + }) : BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.EmptyStateImage, {}); } };