mirror of
https://github.com/Vendicated/Vencord.git
synced 2024-09-19 22:20:34 +00:00
fix: lint and code error with modal template
This commit is contained in:
parent
2721cd3d47
commit
fc3618628f
1 changed files with 6 additions and 5 deletions
|
@ -5,18 +5,19 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption, sendBotMessage } from "@api/Commands";
|
import { ApplicationCommandInputType, ApplicationCommandOptionType, findOption, sendBotMessage } from "@api/Commands";
|
||||||
import { ModalRoot, ModalSize } from "@utils/modal";
|
|
||||||
import { Devs } from "@utils/constants";
|
import { Devs } from "@utils/constants";
|
||||||
|
import { ModalRoot, ModalSize } from "@utils/modal";
|
||||||
import definePlugin, { PluginNative } from "@utils/types";
|
import definePlugin, { PluginNative } from "@utils/types";
|
||||||
|
|
||||||
const Native = VencordNative.pluginHelpers.WebhookManager as PluginNative<typeof import("./native")>;
|
const Native = VencordNative.pluginHelpers.WebhookManager as PluginNative<typeof import("./native")>;
|
||||||
|
|
||||||
// TODO: Create Modal
|
// TODO: Create Modal and add stuff
|
||||||
function webhookMessageModal(props: ModalProps) {
|
function webhookMessageModal(props: ModalProps) {
|
||||||
return (
|
return (
|
||||||
<ModalRoot>
|
<ModalRoot {...props} size={ModalSize.MEDIUM}>
|
||||||
{...props}
|
<ModalContent className="wm-send-webhook">
|
||||||
size={ModalSize.MEDIUM}
|
|
||||||
|
</ModalContent>
|
||||||
</ModalRoot>
|
</ModalRoot>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue