You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
not like this, do not pass entire URL unless u have absolute need for it, and in this case u do not, pass id in function and have URL in function not here, u have few functions like this, do this for all of them
#40
Closed
GigaGiorgadze opened this issue
Jul 19, 2022
· 2 comments
I moved URLs into service functions. The only place I leave the same is the imageUpload function because this one is really reusable and I use it in a few places where URLs are different from each other.
https://github.com/RedberryInternship/folksoul-front-Var-saba/blob/c4056a2906dbcd03f0373f1515f110f0998a3ec2/src/pages/Members/components/DeleteDialog.tsx#L30
The text was updated successfully, but these errors were encountered: