Skip to content

Commit 0b4bd3e

Browse files
committed
Resolve linting errors
1 parent b0c2577 commit 0b4bd3e

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/licensing/gui/src/components/App/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ function App() {
6060
const isMHLM = useSelector(selectLicensingIsMhlm)
6161
const isNLM = useSelector(selectLicensingIsNlm)
6262
const isExistingLicense = useSelector(selectLicensingIsExistingLicense)
63-
const mhlmUsername = useSelector(selectLicensingMhlmUsername)
64-
const nlmConnectionString = useSelector(selectLicensingNLMConnectionString)
63+
const mhlmUsername = useSelector(selectLicensingMhlmUsername) // eslint-disable-line no-unused-vars
64+
const nlmConnectionString = useSelector(selectLicensingNLMConnectionString) // eslint-disable-line no-unused-vars
6565

6666
function handleClick(e) {
6767
e.preventDefault();

src/licensing/gui/src/components/Information/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// Copyright 2024 The MathWorks, Inc.
22

33
import React, { useRef, useState } from 'react';
4-
import PropTypes from 'prop-types';
54
import { useSelector, useDispatch } from 'react-redux';
65
import Linkify from 'react-linkify';
76
import {
@@ -13,7 +12,7 @@ import {
1312
selectIsAuthenticated,
1413
selectAuthToken
1514
} from '../../selectors';
16-
import { updateAuthStatus, getAuthToken } from '../../actionCreators';
15+
import { updateAuthStatus } from '../../actionCreators';
1716
import './Information.css';
1817

1918
function Information () {
@@ -24,7 +23,7 @@ function Information () {
2423
const [token, setToken] = useState('');
2524
const authEnabled = useSelector(selectAuthEnabled);
2625
const isAuthenticated = useSelector(selectIsAuthenticated);
27-
const authToken = useSelector(selectAuthToken);
26+
const authToken = useSelector(selectAuthToken); // eslint-disable-line no-unused-vars
2827
const dispatch = useDispatch();
2928
const tokenInput = useRef();
3029

0 commit comments

Comments
 (0)