diff --git a/plugins/freemoji/slateTreeProcessor.js b/plugins/freemoji/slateTreeProcessor.js index 9352d28..0cdc150 100644 --- a/plugins/freemoji/slateTreeProcessor.js +++ b/plugins/freemoji/slateTreeProcessor.js @@ -1,6 +1,8 @@ const { plugin: { store }, - flux: { stores: { SelectedGuildStore, EmojiStore } }, + flux: { + stores: { SelectedGuildStore, EmojiStore }, + }, } = shelter; const isInDms = () => diff --git a/plugins/invidivizer/index.jsx b/plugins/invidivizer/index.jsx index 57492d4..230831a 100644 --- a/plugins/invidivizer/index.jsx +++ b/plugins/invidivizer/index.jsx @@ -1,7 +1,10 @@ const { plugin: { store }, observeDom, - flux: { dispatcher, storesFlat: { SelectedChannelStore } }, + flux: { + dispatcher, + storesFlat: { SelectedChannelStore }, + }, util: { reactFiberWalker, getFiber }, ui: { Header, HeaderTags, TextBox }, } = shelter; diff --git a/plugins/more-embeds/index.tsx b/plugins/more-embeds/index.tsx index 522ffdc..3a19157 100644 --- a/plugins/more-embeds/index.tsx +++ b/plugins/more-embeds/index.tsx @@ -1,5 +1,8 @@ const { - flux: { storesFlat: { ThemeStore, SelectedChannelStore }, dispatcher }, + flux: { + storesFlat: { ThemeStore, SelectedChannelStore }, + dispatcher, + }, solid: { onCleanup }, util: { createSubscription, getFiber, reactFiberWalker }, observeDom, diff --git a/plugins/snazzy-shelter/src/components/badges.jsx b/plugins/snazzy-shelter/src/components/badges.jsx index 17801f6..33503d8 100644 --- a/plugins/snazzy-shelter/src/components/badges.jsx +++ b/plugins/snazzy-shelter/src/components/badges.jsx @@ -1,5 +1,6 @@ -const badge = (url, type) => () => - ; +const badge = (url, type) => () => ( + +); export const BDBadge = badge( "https://betterdiscord.app/resources/branding/logo_small.svg", diff --git a/plugins/timezones/ui/UserMan.jsx b/plugins/timezones/ui/UserMan.jsx index fb8441d..19d96f6 100644 --- a/plugins/timezones/ui/UserMan.jsx +++ b/plugins/timezones/ui/UserMan.jsx @@ -1,7 +1,9 @@ import { showPickerModal } from "./TzPicker"; const { - flux: { storesFlat: { UserStore } }, + flux: { + storesFlat: { UserStore }, + }, plugin: { store }, ui: { Button, @@ -34,12 +36,12 @@ export default (props) => { !newUid() ? "" : newUid() in store.savedTzs - ? "This user already has a timezone set" - : newUid().match(/\d{17,19}/)?.[0] !== newUid() - ? "That is not a valid user ID" - : !newTz() - ? "Please enter a time zone" - : undefined; + ? "This user already has a timezone set" + : newUid().match(/\d{17,19}/)?.[0] !== newUid() + ? "That is not a valid user ID" + : !newTz() + ? "Please enter a time zone" + : undefined; const tryAdd = () => { if (validation() !== undefined) return; @@ -138,7 +140,6 @@ export default (props) => { Add - {!!validation() && ( <> {validation()}