-
+
+ {isLocating ? (
+
+ Chargement...
+
+ ) : (
+
+ )}
+
);
};
Footer.propTypes = {
+ isLocating: PropTypes.bool.isRequired,
selectedGasType: PropTypes.string.isRequired,
selectGasType: PropTypes.func.isRequired,
setNeedUpdateUserLocation: PropTypes.func.isRequired,
diff --git a/src/Components/GasStation.js b/src/Components/GasStation.js
index db0d0b9..7d3d387 100644
--- a/src/Components/GasStation.js
+++ b/src/Components/GasStation.js
@@ -1,6 +1,7 @@
import React from 'react';
import { Modal, Button, ListGroup } from "react-bootstrap";
import PropTypes from 'prop-types';
+import { FaWaze } from "react-icons/fa";
import { gasTypes } from "../config";
import { capitalizeFirstLetter} from "../helpers";
@@ -69,11 +70,7 @@ class GasStation extends React.Component {