Skip to content

Commit

Permalink
[emojiBlacklist] Fix settings page error
Browse files Browse the repository at this point in the history
  • Loading branch information
lexisother committed Jun 7, 2024
1 parent eaeec16 commit 167a544
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/emojiBlacklist/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ import { common, components, settings, webpack } from "replugged";
const { Text, TextInput, Flex, FormItem, Button } = components;
const { React } = common;

const Margins = webpack.getByProps(
["marginTop8", "marginCenterHorz", "marginLarge", "marginBottom20"],
{ all: false, raw: false },
)!;
const Emoji = webpack.getBySource(".allowAnimatedEmoji");
const Margins = webpack.getByProps(["marginTop8", "marginCenterHorz", "marginBottom20"], {
all: false,
raw: false,
})!;
const Emoji = webpack.getBySource(/allowAnimatedEmoji:.{1,2},.*?=this.props/);

const {
sanitizeEmojiName,
Expand Down Expand Up @@ -64,7 +64,7 @@ export function Settings(): React.ReactElement {
</Flex.Child>
<Flex.Child grow={0} basis="1%">
<Button
hover={Button.Hovers.RED}
hover={Button.Colors.RED}
look={Button.Looks.OUTLINED}
color={Button.Colors.LINK}
style={{ minWidth: "unset" }}
Expand Down

0 comments on commit 167a544

Please sign in to comment.