Skip to content

Commit

Permalink
chore: remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
hamidzr committed Jun 8, 2020
1 parent 18c8125 commit 0d069c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
9 changes: 3 additions & 6 deletions webui/react/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webui/react/src/components/DeterminedAuth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const DeterminedAuth: React.FC = () => {
} finally {
setCanSubmit(true);
}
}, [ isBadCredentials, setAuth, setShowSpinner ]);
}, [ setAuth, setShowSpinner ]);

const onValuesChange = useCallback((changes: FromValues, values: FromValues): void => {
const hasUsername = !!values.username;
Expand Down
2 changes: 1 addition & 1 deletion webui/react/src/contexts/Experiments.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { generateContext } from 'contexts';
import { Action, ActionType, RestApiState } from 'hooks/useRestApi';
import { RestApiState } from 'hooks/useRestApi';
import { Experiment } from 'types';

const contextProvider = generateContext<RestApiState<Experiment[]>>({
Expand Down

0 comments on commit 0d069c3

Please sign in to comment.