Im doing it differently at the moment and just using the supabase upload on the actual upload element. I was using it on the form before but to debug i made it more simple and i am still struggling.
theres a whole lot of parts I am still trying to work out but I made a post asking for help on that issue