Fixing useEffect warnings

This commit is contained in:
aeroreyna
2022-11-19 20:45:32 -05:00
parent 4e1112fbf4
commit a313822c27
6 changed files with 81 additions and 56 deletions

3
API.js
View File

@@ -141,6 +141,9 @@ const API = {
getVideo(videoId) {
return getCall("/post/video/" + videoId);
},
registerToken(token) {
return postCall("/token/", {token});
},
deletePost(postid){
return deleteCall("/post/" + postid);
},