Fixed vehicle and owner pages with transition prevention. BOD-127

This commit is contained in:
Patrick Fic
2020-07-13 16:14:49 -07:00
parent cff21c5bdf
commit e2f7566783
6 changed files with 55 additions and 31 deletions

View File

@@ -3,12 +3,12 @@ import { Layout, Menu } from "antd";
import React, { useState } from "react";
import { useTranslation } from "react-i18next";
import { FiLogIn, FiLogOut } from "react-icons/fi";
import { MdTimer, MdTimerOff } from "react-icons/md";
import { MdTimer } from "react-icons/md";
import { connect } from "react-redux";
import { Link } from "react-router-dom";
import { createStructuredSelector } from "reselect";
import { selectTechnician } from "../../redux/tech/tech.selectors";
import { techLogout } from "../../redux/tech/tech.actions";
import { selectTechnician } from "../../redux/tech/tech.selectors";
const { Sider } = Layout;
const mapStateToProps = createStructuredSelector({