lint
This commit is contained in:
parent
141bb41d95
commit
7c1956d570
2 changed files with 2 additions and 2 deletions
2
packages/discord-types/src/components.d.ts
vendored
2
packages/discord-types/src/components.d.ts
vendored
|
|
@ -244,7 +244,7 @@ export type Select = ComponentType<PropsWithChildren<{
|
||||||
export type SearchableSelect = ComponentType<PropsWithChildren<{
|
export type SearchableSelect = ComponentType<PropsWithChildren<{
|
||||||
placeholder?: string;
|
placeholder?: string;
|
||||||
options: ReadonlyArray<SelectOption>; // TODO
|
options: ReadonlyArray<SelectOption>; // TODO
|
||||||
value?: SelectOption | string[];
|
value?: any;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* - 0 ~ Filled
|
* - 0 ~ Filled
|
||||||
|
|
|
||||||
|
|
@ -118,7 +118,7 @@ export default definePlugin({
|
||||||
id="set-avatar"
|
id="set-avatar"
|
||||||
icon={PencilIcon}
|
icon={PencilIcon}
|
||||||
action={async () => {
|
action={async () => {
|
||||||
await requireSettingsMenu();
|
await requireSettingsModal();
|
||||||
openModal(modalProps => <SetAvatarModal userId={user.id} modalProps={modalProps} />);
|
openModal(modalProps => <SetAvatarModal userId={user.id} modalProps={modalProps} />);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue