Clean up type

This commit is contained in:
Eric Bailey
2024-09-17 11:35:07 -05:00
parent 390279df88
commit 52514b428e
+1 -4
View File
@@ -14,9 +14,7 @@ interface InitialImageUri {
export class GalleryModel {
images: ImageModel[] = []
constructor(
uris?: {uri: string; width: number; height: number; altText?: string}[],
) {
constructor(uris?: InitialImageUri[]) {
makeAutoObservable(this)
if (uris) {
@@ -62,7 +60,6 @@ export class GalleryModel {
path: uri,
height,
width,
mime: 'image/jpeg',
}
runInAction(() => {