Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
zburke committed Jul 26, 2024
1 parent 69bb561 commit 8c5b31a
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/RootWithIntl.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import {
Router,
Switch,
Redirect as InternalRedirect
} from 'react-router-dom';
import { Provider } from 'react-redux';
import { CookiesProvider } from 'react-cookie';
Expand Down
2 changes: 1 addition & 1 deletion src/components/OIDCLanding.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const OIDCLanding = () => {
const store = useStore();
// const samlError = useRef();
const { okapi } = useStripes();
const [potp, setPotp] = useState();
const [, setPotp] = useState();
const [samlError, setSamlError] = useState();


Expand Down
2 changes: 1 addition & 1 deletion src/components/Root/FFetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class FFetch {
/**
* scheduleRotation
* Given a promise that resolves with timestamps for the AT's and RT's
* expiration, configure relevant corresponding timers:
* expiration, configure relevant corresponding timers:
* * before the AT expires, conduct RTR
* * when the RT is about to expire, send a "session will end" event
* * when the RT expires, send a "session ended" event"
Expand Down
1 change: 0 additions & 1 deletion src/components/Root/FXHR.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { rtr } from './token-util';
import { getTokenExpiry } from '../../loginServices';
import { RTRError } from './Errors';
import FXHR from './FXHR';

jest.mock('./token-util', () => ({
Expand Down
1 change: 0 additions & 1 deletion src/components/Root/token-util.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { waitFor } from '@folio/jest-config-stripes/testing-library/react';
import { RTRError, UnexpectedResourceError } from './Errors';
import {
configureRtr,
Expand Down

0 comments on commit 8c5b31a

Please sign in to comment.