feat(frontend): optimizations for slow internet situations
This commit is contained in:
@@ -12,7 +12,6 @@ export const get = query({
|
||||
photos: v.array(
|
||||
v.object({
|
||||
_id: v.id('photoDrafts'),
|
||||
base64: v.string(),
|
||||
mediaType: v.string()
|
||||
})
|
||||
)
|
||||
@@ -28,7 +27,6 @@ export const get = query({
|
||||
return {
|
||||
photos: drafts.map((d) => ({
|
||||
_id: d._id,
|
||||
base64: d.base64,
|
||||
mediaType: d.mediaType
|
||||
}))
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user