fix(frontend): incorrect URLs in stats page
This commit is contained in:
@@ -3,12 +3,13 @@ import axios from "axios";
|
||||
import { Outlet, useLocation, useNavigate } from "react-router-dom";
|
||||
import StatsStyling from "../styles/stats_styling";
|
||||
|
||||
const API_BASE_URL = import.meta.env.VITE_BACKEND_URL
|
||||
|
||||
type ProfileResponse = {
|
||||
user?: Record<string, unknown>;
|
||||
};
|
||||
|
||||
const styles = StatsStyling;
|
||||
const API_BASE_URL = "http://localhost:5000";
|
||||
|
||||
const getUserLabel = (user: Record<string, unknown> | null) => {
|
||||
if (!user) {
|
||||
|
||||
Reference in New Issue
Block a user