This commit is contained in:
thororen1234 2026-02-05 23:51:50 -05:00
parent 141bb41d95
commit 7c1956d570
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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} />);
}} }}
/> />