PetPet: Fix Upload Image Option (#2461)

This commit is contained in:
ScattrdBlade 2024-05-14 22:44:47 -04:00 committed by GitHub
parent f4d6461690
commit 4da8b9aad7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 45 additions and 28 deletions

View file

@ -119,6 +119,8 @@ export function showToast(message: string, type = ToastType.MESSAGE) {
}
export const UserUtils = findByPropsLazy("getUser", "fetchCurrentUser") as { getUser: (id: string) => Promise<User>; };
export const UploadManager = findByPropsLazy("clearAll", "addFile");
export const UploadHandler = findByPropsLazy("showUploadFileSizeExceededError", "promptToUpload") as {
promptToUpload: (files: File[], channel: Channel, draftType: Number) => void;
};