Add API_BASE to Dashboard.tsx
cgen-8a844b664ee64a1c8db22408273f7f98
This commit is contained in:
parent
7e21ba9226
commit
747f4f4708
1 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
import { useState, useEffect, useMemo } from "react";
|
import { useState, useEffect, useMemo } from "react";
|
||||||
|
|
||||||
|
const API_BASE = import.meta.env.VITE_API_BASE || "";
|
||||||
|
|
||||||
import { useNavigate, useSearchParams } from "react-router-dom";
|
import { useNavigate, useSearchParams } from "react-router-dom";
|
||||||
import Layout from "@/components/Layout";
|
import Layout from "@/components/Layout";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue