Rumfiske
Rumfiske
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
This would ofc mean we would need to use config={{ mode: "manual" }} or something like that so the images would not be automaticly uploaded when you drag'n'drop a file.
11 replies
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
That would work i guess. I think the correct way is to have a hook from uploadthing like import {UploadFiles} from "utapi" Then you can simple run UploadFiles(files) when the product was successfully created.
11 replies
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
Good idea. That would work for me aswell for now. Still i thibk uploadthing should make a real solution to this.
11 replies
TTCTheo's Typesafe Cult
Created by Boneman on 7/16/2024 in #questions
Uploadthing file handling
@Boneman Yo my guy! I have the exact same problem. When a admin creates a new product for the store, and leaves / refreshes the page. The images that were uploaded is now in the void costing us unnecessary storage costs 😦 I will let you know if i find a fix. Mabye we should make this an issue on the github, if there is no fix.
11 replies