Skip to content

Commit

Permalink
Replaced ant message with the app message to match the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
usserwoutV2 committed May 13, 2024
1 parent 99dee69 commit 1acfa6d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend/src/pages/submit/Submit.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import {useState} from 'react';
import apiCall from "../../util/apiFetch";
import {ApiRoutes} from "../../@types/requests.d";
import JSZip from 'jszip';
import { message } from 'antd';
import {AppRoutes} from "../../@types/routes";
import useAppApi from "../../hooks/useAppApi"

const Submit = () => {
const {t} = useTranslation()
const [form] = Form.useForm()
const {projectId, courseId} = useParams<{ projectId: string, courseId: string}>()
const {message} = useAppApi()
const [fileAdded, setFileAdded] = useState(false);
const navigate = useNavigate()

Expand Down

0 comments on commit 1acfa6d

Please sign in to comment.