fix: use environment variable for API URL

This commit is contained in:
Xavier Oliveira
2026-05-28 14:43:46 +01:00
parent 82de11a99f
commit c724d603bf

View File

@@ -31,7 +31,7 @@ export default function Header() {
const { getVideosSearch } = useGetVideosSearch(); const { getVideosSearch } = useGetVideosSearch();
const { getWorkshopsSearch } = useGetWorkshopsSearch(); const { getWorkshopsSearch } = useGetWorkshopsSearch();
/* const { getCurrentUser } = useGetCurrentUser(); */ /* const { getCurrentUser } = useGetCurrentUser(); */
const [role, setRole] = useState(0); const [role, _setRole] = useState(0);
const [videosWatched, setVideosWatched] = useState(0); const [videosWatched, setVideosWatched] = useState(0);
const [videosCount, setVideosCount] = useState(0); const [videosCount, setVideosCount] = useState(0);