Skip to content

Commit

Permalink
Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
almeida1492 committed Sep 28, 2020
1 parent 9fb5c8e commit 89fc0df
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { object, string } from "yup";
import SmallButton from "../smallButton/SmallButton";
import "./styles.scss";
import TextButton from "../textButton/TextButton";
import { PatientDTO } from "../../../generated";

const PatientDataForm: FunctionComponent<TProps> = ({
initialValues,
Expand Down
2 changes: 1 addition & 1 deletion src/components/activities/loginActivity/LoginActivity.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const LoginActivity: FunctionComponent<TProps> = ({
LocalStorage.write("sessionId", "token");
window.location.href = successRoute;
}
}, [authenticated]);
}, [authenticated, successRoute]);

return (
<div className="login">
Expand Down
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import App from "./App";
import * as serviceWorker from "./serviceWorker";
import { Provider } from "react-redux";
import { IState } from "./types";
import { applyMiddleware, compose, createStore, combineReducers } from "redux";
import { applyMiddleware, createStore, combineReducers } from "redux";
import { composeWithDevTools } from "redux-devtools-extension";
import thunkMiddleware from "redux-thunk";
import main from "./state/main/reducer";
Expand Down
1 change: 0 additions & 1 deletion src/state/main/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
import { Dispatch } from "redux";
import { Authentication, LoginApiApi } from "../../generated";
import { IAction } from "../types";
import { LocalStorage } from "../../libraries/storage/storage";

const api = new LoginApiApi();

Expand Down

0 comments on commit 89fc0df

Please sign in to comment.