From 861c81d99f9e00292b9e7358667d726ef72aa324 Mon Sep 17 00:00:00 2001 From: Sameer Kolhar Date: Sat, 9 Dec 2023 22:26:33 -0600 Subject: [PATCH] minor changes to README and other minor fixes (#123) --- README.md | 4 ++-- frontend/src/Dashboard.tsx | 3 ++- frontend/src/Jobs.tsx | 3 ++- frontend/src/Locations.tsx | 3 ++- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4808f9b..18e2de9 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ #### Develop Branch -[![Coverage Status | Develop](https://coveralls.io/repos/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1/badge.svg?branch=develop)](https://coveralls.io/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1?branch=develop) +[![Coverage Status | Develop](https://coveralls.io/repos/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1/badge.svg?branch=raj/tests)](https://coveralls.io/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1?branch=raj/tests) [![Build Status | Develop](https://app.travis-ci.com/gcivil-nyu-org/INET-Monday-Fall2023-Team-1.svg?branch=develop)](https://app.travis-ci.com/gcivil-nyu-org/INET-Monday-Fall2023-Team-1) @@ -10,7 +10,7 @@ #### Master Branch -[![Coverage Status | Master](https://coveralls.io/repos/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1/badge.svg?branch=master)](https://coveralls.io/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1?branch=HEAD) +[![Coverage Status | Master](https://coveralls.io/repos/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1/badge.svg?branch=raj/tests)](https://coveralls.io/github/gcivil-nyu-org/INET-Monday-Fall2023-Team-1?branch=raj/tests) [![Build Status | Master](https://app.travis-ci.com/gcivil-nyu-org/INET-Monday-Fall2023-Team-1.svg?branch=master)](https://app.travis-ci.com/gcivil-nyu-org/INET-Monday-Fall2023-Team-1) diff --git a/frontend/src/Dashboard.tsx b/frontend/src/Dashboard.tsx index f9fc7e2..a687b15 100644 --- a/frontend/src/Dashboard.tsx +++ b/frontend/src/Dashboard.tsx @@ -2,8 +2,9 @@ import { Tab } from "@headlessui/react"; import axios from "axios"; import React, { useEffect, useState } from "react"; import toast from "react-hot-toast"; -import { formatDate } from "./utils"; + import { API_ROUTES } from "./constants"; +import { formatDate } from "./utils"; type Job = { id: number; diff --git a/frontend/src/Jobs.tsx b/frontend/src/Jobs.tsx index 6301774..0fa3d0c 100644 --- a/frontend/src/Jobs.tsx +++ b/frontend/src/Jobs.tsx @@ -2,9 +2,10 @@ import { Tab } from "@headlessui/react"; import axios from "axios"; import React, { useEffect, useState } from "react"; import toast from "react-hot-toast"; -import { formatDate } from "./utils"; + import ApplicationModal from "./ApplicationModal"; import { API_ROUTES } from "./constants"; +import { formatDate } from "./utils"; interface Job { id: string; diff --git a/frontend/src/Locations.tsx b/frontend/src/Locations.tsx index ccf6034..72e6a50 100644 --- a/frontend/src/Locations.tsx +++ b/frontend/src/Locations.tsx @@ -143,7 +143,8 @@ const Locations = () => { country, }) ) - .then((response) => { + .then(() => { + toast.success("your changes have been saved"); // TODO: handle response //console.log(response); })