···1111import { webStore } from "@/common/webstore";
1212import Ad from "@/components/ad";
1313import { CopyToClipboardButton } from "@/components/copy-to-clipboard";
1414-import ErrorBanner from "@/components/Error";
1514import Modal from "@/components/modal";
1515+import Notice, { NoticeType } from "@/components/notice";
1616import { ApiV1GuildsGetResponse, ApiV1GuildsModulesLeaderboardGetResponse, ApiV1GuildsTopmembersPaginationGetResponse } from "@/typings";
1717import { getCanonicalUrl } from "@/utils/urls";
1818···155155 title="Invite privacy"
156156 classNames={{ content: "mb-2" }}
157157 >
158158- The invite on this sidebar is taken from the widget, if you want to remove the invite from this page, disable the widget in your discord server settings or remove <Code>Manage Guild</Code> permission from the bot.
158158+ The invite on this sidebar is taken from the widget, if you want to remove the invite from this page, disable the widget in your discord server settings or remove <Code color="secondary">Manage Guild</Code> permission from the bot.
159159 <br />
160160 <br />
161161 <strong>NOTE: </strong> It might take up to an hour for this page to update.
···184184 router.refresh();
185185 }}
186186 >
187187- <ErrorBanner message="Takes a few seconds to apply" type="info" removeButton />
187187+ <Notice
188188+ type={NoticeType.Info}
189189+ message="Takes a few seconds to apply"
190190+ />
188191 Are you sure you want to delete the leaderboard? It will be gone forever, probably, who knows.
189192 </Modal>
190193