Skip to content

Commit

Permalink
Update Video.jsx
Browse files Browse the repository at this point in the history
Signed-off-by: Haroun Alarabi <109032469+HarounAlarabi@users.noreply.github.com>
  • Loading branch information
HarounAlarabi authored Feb 7, 2024
1 parent c7b1afc commit 8205303
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/components/Video.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ function Video({ videoObj, deleteVideo }) {
const videoId = getVideoIdFromUrl(videoObj.url);
const [ vote, setVote ] = useState(videoObj.rating);

const fetchVideosUrl = 'http://13.53.198.163:5050';
const fetchVideosUrl = 'http://16.171.21.156:5050';

const updateVote = (increment) => {
const newRating = vote + increment;
Expand Down

0 comments on commit 8205303

Please sign in to comment.