File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
src/licensing/gui/src/components Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ function App() {
60
60
const isMHLM = useSelector ( selectLicensingIsMhlm )
61
61
const isNLM = useSelector ( selectLicensingIsNlm )
62
62
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
65
65
66
66
function handleClick ( e ) {
67
67
e . preventDefault ( ) ;
Original file line number Diff line number Diff line change 1
1
// Copyright 2024 The MathWorks, Inc.
2
2
3
3
import React , { useRef , useState } from 'react' ;
4
- import PropTypes from 'prop-types' ;
5
4
import { useSelector , useDispatch } from 'react-redux' ;
6
5
import Linkify from 'react-linkify' ;
7
6
import {
@@ -13,7 +12,7 @@ import {
13
12
selectIsAuthenticated ,
14
13
selectAuthToken
15
14
} from '../../selectors' ;
16
- import { updateAuthStatus , getAuthToken } from '../../actionCreators' ;
15
+ import { updateAuthStatus } from '../../actionCreators' ;
17
16
import './Information.css' ;
18
17
19
18
function Information ( ) {
@@ -24,7 +23,7 @@ function Information () {
24
23
const [ token , setToken ] = useState ( '' ) ;
25
24
const authEnabled = useSelector ( selectAuthEnabled ) ;
26
25
const isAuthenticated = useSelector ( selectIsAuthenticated ) ;
27
- const authToken = useSelector ( selectAuthToken ) ;
26
+ const authToken = useSelector ( selectAuthToken ) ; // eslint-disable-line no-unused-vars
28
27
const dispatch = useDispatch ( ) ;
29
28
const tokenInput = useRef ( ) ;
30
29
You can’t perform that action at this time.
0 commit comments