This commit is contained in:
yujonglee 2025-01-18 22:13:07 +09:00
parent c4c5b3adbd
commit 0aa8e4a703

View file

@ -54,9 +54,7 @@ const Createuser: React.FC<CreateuserProps> = ({
const router = useRouter();
const isLocal = process.env.NODE_ENV === "development";
const [baseUrl, setBaseUrl] = useState(
isLocal ? "http://localhost:4000" : "",
);
const [baseUrl, setBaseUrl] = useState("http://localhost:4000");
// get all models
useEffect(() => {
const fetchData = async () => {