mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-20 06:30:35 +00:00
wtf lint
This commit is contained in:
parent
ae6290a605
commit
cb4be3d77b
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption,
|
|||
import { Devs } from "@utils/constants";
|
||||
import { Margins } from "@utils/margins";
|
||||
import { ModalContent, ModalProps, ModalRoot, ModalSize, openModal } from "@utils/modal";
|
||||
import { Button, Forms, React, Switch, TextInput, useState } from "@webpack/common";
|
||||
import definePlugin, { PluginNative } from "@utils/types";
|
||||
import { Button, Forms, React, Switch, TextInput, useState } from "@webpack/common";
|
||||
|
||||
const Native = VencordNative.pluginHelpers.WebhookManager as PluginNative<typeof import("./native")>;
|
||||
let url, content, username, avatarUrl = "";
|
||||
|
@ -59,7 +59,7 @@ function WebhookMessageModal(props: ModalProps) {
|
|||
>Send as Raw JSON</Switch>
|
||||
<Button
|
||||
onClick={() => {
|
||||
if (jsonMode != true) {
|
||||
if (jsonMode !== true) {
|
||||
Native.executeWebhook(params.url, {
|
||||
content: params.content,
|
||||
username: params.username,
|
||||
|
|
Loading…
Reference in a new issue