mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 10:57:04 -04:00
Make Option.Component not require description
Also correctly infers the type from "default"
This commit is contained in:
parent
a2213d4feb
commit
5ad35c36e4
10 changed files with 26 additions and 28 deletions
|
@ -45,7 +45,6 @@ const makeEmptyRuleArray = () => [makeEmptyRule()];
|
|||
const settings = definePluginSettings({
|
||||
replace: {
|
||||
type: OptionType.COMPONENT,
|
||||
description: "",
|
||||
component: () => {
|
||||
const { stringRules, regexRules } = settings.use(["stringRules", "regexRules"]);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue