Merge branch 'dev'
This commit is contained in:
commit
43615e6ddf
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<{
|
||||
placeholder?: string;
|
||||
options: ReadonlyArray<SelectOption>; // TODO
|
||||
value?: SelectOption | string[];
|
||||
value?: any;
|
||||
|
||||
/**
|
||||
* - 0 ~ Filled
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ export default definePlugin({
|
|||
id="set-avatar"
|
||||
icon={PencilIcon}
|
||||
action={async () => {
|
||||
await requireSettingsMenu();
|
||||
await requireSettingsModal();
|
||||
openModal(modalProps => <SetAvatarModal userId={user.id} modalProps={modalProps} />);
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue