tombohub

Results 26 comments of tombohub

the files have to be somewhere because if we do Edit->Undo they come back

Moving our hands to arrow keys while coding is tiring. I'd rather have alt + tab option or if there is another shcortcut for changing desktops?f

@Moe-Hassan-123 and how do you use that enhance api? do you need to export hook from your custom code?

@Moe-Hassan-123 I manage to get without enchanced endpoints. Just create `FormData` and use it instead generated request object: ```javascript function handleSubmitImportCsv(e: FormEvent) { e.preventDefault(); const formData = new FormData(); formData.append("city",...

@andrejpavlovic what is `dispatch` is that redux-toolkit dispatch function? You gave example with string, but it works with files right?

ok, now the simplest solution I've got so far: to get this submit code: ```javascript function handleSubmit(e: FormEvent) { e.preventDefault(); const formData = new FormData(e.currentTarget); // @ts-expect-error: rtk query gen...