Fakultas Ilmu Komputer UI

Commit 66e48f28 authored by FadhilP's avatar FadhilP
Browse files

[REFACTOR] Fix unused import, fix api url

parent d7a12f0a
......@@ -2,13 +2,12 @@ import React from "react";
import { css } from "@emotion/core";
import { ErrorDiv } from "../../component/html/html";
import FormBatch from "./FormBatch";
import LinkYellow from "../../component/LinkYellow";
import useSendData from "../../utils/useSendData";
import { Link } from "@reach/router";
import ArrowBackIcon from "@material-ui/icons/ArrowBack";
const TambahBatch = () => {
const url = `${process.env.REACT_APP_BASE_URL}/batch1/`;
const url = `${process.env.REACT_APP_BASE_URL}/batch/`;
const [send, error] = useSendData({
method: "POST",
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment