Skip to content

Commit

Permalink
DEV jsdoc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Jun 30, 2022
1 parent 1feaa58 commit b911884
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/redux/selectors/scansSelectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -370,6 +370,9 @@ const makeScanListItemSelector = () => scanListItemSelector;

/**
* Return a check for sources existing
*
* @param {object} state
* @returns {*}
*/
const scansEmptyState = state => state.scans.empty;

Expand Down
2 changes: 1 addition & 1 deletion src/services/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const globalXhrTimeout = Number.parseInt(process.env.REACT_APP_AJAX_TIMEOUT, 10)
/**
* Return a formatted auth header.
*
* @return {{}}
* @returns {{}}
*/
const authHeader = () => {
const authToken = cookies.get(process.env.REACT_APP_AUTH_TOKEN) || '';
Expand Down
1 change: 1 addition & 0 deletions src/services/userService.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { serviceCall } from './config';
*/
/**
* Get the users locale
*
* @returns {Promise<any>}
*/
const getLocale = () => {
Expand Down

0 comments on commit b911884

Please sign in to comment.