Skip to content
Snippets Groups Projects
Commit c63a1498 authored by Antoine Gaudron-Desjardins's avatar Antoine Gaudron-Desjardins
Browse files

fix linting frontend

parent 7d47b206
No related branches found
No related tags found
1 merge request!16fix linting frontend
Pipeline #43782 passed
import React from "react" import React from "react"
import styles from "../styles/Footer.css" import "../styles/Footer.css"
export default function Footer() { export default function Footer() {
......
import React from "react" import React from "react"
import Table from "react-bootstrap/Table" import Table from "react-bootstrap/Table"
import styles from "../styles/Timetable.css" import "../styles/Timetable.css"
export default function Timetable (schedule) { export default function Timetable (schedule) {
......
import React from "react" import React from "react"
import axios from "axios" import axios from "axios"
import styles from "../styles/WaitingTime.css" import "../styles/WaitingTime.css"
export default function WaitingTime({place}) { export default function WaitingTime({place}) {
...@@ -13,7 +13,7 @@ export default function WaitingTime({place}) { ...@@ -13,7 +13,7 @@ export default function WaitingTime({place}) {
setPost(Math.round(response.data / 60)); setPost(Math.round(response.data / 60));
console.log(response.data) console.log(response.data)
}); });
}, []); }, [baseURL]);
if (!post) return null; if (!post) return null;
return ( return (
......
...@@ -6,7 +6,7 @@ import { Header, Footer } from "./components" ...@@ -6,7 +6,7 @@ import { Header, Footer } from "./components"
import { HomePage, Eiffel, NotFoundPage } from "./views" import { HomePage, Eiffel, NotFoundPage } from "./views"
import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/css/bootstrap.min.css';
import styles from "./styles/index.css" import "./styles/index.css"
export default function App() { export default function App() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment