mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-16 18:07:02 -04:00
Merge remote-tracking branch 'upstream/dev'
This commit is contained in:
commit
992523682d
29 changed files with 392 additions and 194 deletions
|
@ -19,6 +19,7 @@
|
|||
import "./style.css";
|
||||
|
||||
import { addServerListElement, removeServerListElement, ServerListRenderPosition } from "@api/ServerList";
|
||||
import ErrorBoundary from "@components/ErrorBoundary";
|
||||
import { Devs, EquicordDevs } from "@utils/constants";
|
||||
import definePlugin from "@utils/types";
|
||||
import { Button, FluxDispatcher, GuildChannelStore, GuildStore, React, ReadStateStore } from "@webpack/common";
|
||||
|
@ -64,7 +65,7 @@ export default definePlugin({
|
|||
authors: [Devs.kemo, EquicordDevs.KrystalSkull],
|
||||
dependencies: ["ServerListAPI"],
|
||||
|
||||
renderReadAllButton: () => <ReadAllButton />,
|
||||
renderReadAllButton: ErrorBoundary.wrap(ReadAllButton, { noop: true }),
|
||||
|
||||
start() {
|
||||
addServerListElement(ServerListRenderPosition.Above, this.renderReadAllButton);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue