diff --git a/web/js/components/animation-widget/gif-button.js b/web/js/components/animation-widget/gif-button.js index bdf3655b71..5944796155 100644 --- a/web/js/components/animation-widget/gif-button.js +++ b/web/js/components/animation-widget/gif-button.js @@ -3,11 +3,11 @@ import { connect } from 'react-redux'; import PropTypes from 'prop-types'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { UncontrolledTooltip } from 'reactstrap'; -import googleTagManager from 'googleTagManager'; import { cloneDeep as lodashCloneDeep, filter as lodashFilter, } from 'lodash'; +import googleTagManager from 'googleTagManager'; import GifContainer from '../../containers/gif'; import { toggleComponentGifActive, diff --git a/web/js/components/animation-widget/gif-post-creation.js b/web/js/components/animation-widget/gif-post-creation.js index a997902efb..d6db00523b 100644 --- a/web/js/components/animation-widget/gif-post-creation.js +++ b/web/js/components/animation-widget/gif-post-creation.js @@ -2,8 +2,8 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { capitalize as lodashCapitalize } from 'lodash'; import FileSaver from 'file-saver'; -import googleTagManager from 'googleTagManager'; import { Modal, ModalBody, ModalHeader } from 'reactstrap'; +import googleTagManager from 'googleTagManager'; import util from '../../util/util'; import Button from '../util/button'; import MonospaceDate from '../util/monospace-date'; diff --git a/web/js/components/location-search/location-search-modal.js b/web/js/components/location-search/location-search-modal.js index 45a7a87e3d..76f3265178 100644 --- a/web/js/components/location-search/location-search-modal.js +++ b/web/js/components/location-search/location-search-modal.js @@ -8,8 +8,8 @@ import { debounce as lodashDebounce, get as lodashGet, } from 'lodash'; -import googleTagManager from 'googleTagManager'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import googleTagManager from 'googleTagManager'; import SearchBox from './location-search-input'; import Alert from '../util/alert'; import HoverTooltip from '../util/hover-tooltip'; diff --git a/web/js/components/measure-tool/measure-button.js b/web/js/components/measure-tool/measure-button.js index e2b2e6388b..df23898082 100644 --- a/web/js/components/measure-tool/measure-button.js +++ b/web/js/components/measure-tool/measure-button.js @@ -1,8 +1,8 @@ import React, { useState } from 'react'; import { useDispatch, useSelector } from 'react-redux'; import { Button, UncontrolledTooltip } from 'reactstrap'; -import googleTagManager from 'googleTagManager'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import googleTagManager from 'googleTagManager'; import MeasureMenu from './measure-menu'; import { openCustomContent } from '../../modules/modal/actions'; import AlertUtil from '../util/alert'; diff --git a/web/js/components/sidebar/event.js b/web/js/components/sidebar/event.js index a86829461b..f005eac8b8 100644 --- a/web/js/components/sidebar/event.js +++ b/web/js/components/sidebar/event.js @@ -1,8 +1,8 @@ import React, { useLayoutEffect, useRef } from 'react'; import PropTypes from 'prop-types'; import lodashFind from 'lodash/find'; -import googleTagManager from 'googleTagManager'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import googleTagManager from 'googleTagManager'; import { getDefaultEventDate } from '../../modules/natural-events/util'; import util from '../../util/util'; import EventIcon from './event-icon'; diff --git a/web/js/components/sidebar/events-filter.js b/web/js/components/sidebar/events-filter.js index cef39d18e2..410bef1f3d 100644 --- a/web/js/components/sidebar/events-filter.js +++ b/web/js/components/sidebar/events-filter.js @@ -2,10 +2,10 @@ import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Button, UncontrolledTooltip } from 'reactstrap'; -import googleTagManager from 'googleTagManager'; import moment from 'moment'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { createPortal } from 'react-dom'; +import googleTagManager from 'googleTagManager'; import Switch from '../util/switch'; import Checkbox from '../util/checkbox'; import { diff --git a/web/js/components/timeline/timeline-coverage/timeline-coverage.js b/web/js/components/timeline/timeline-coverage/timeline-coverage.js index c8808f854a..8b3ee40037 100644 --- a/web/js/components/timeline/timeline-coverage/timeline-coverage.js +++ b/web/js/components/timeline/timeline-coverage/timeline-coverage.js @@ -4,10 +4,10 @@ import { connect } from 'react-redux'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { UncontrolledTooltip } from 'reactstrap'; import moment from 'moment'; -import googleTagManager from 'googleTagManager'; import { isEqual as lodashIsEqual, } from 'lodash'; +import googleTagManager from 'googleTagManager'; import { timeScaleOptions } from '../../../modules/date/constants'; import { filterProjLayersWithStartDate, diff --git a/web/js/containers/embed.js b/web/js/containers/embed.js index 597b8aa37f..d035367ffd 100644 --- a/web/js/containers/embed.js +++ b/web/js/containers/embed.js @@ -2,8 +2,8 @@ import React, { useState } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import { Button } from 'reactstrap'; -import googleTagManager from 'googleTagManager'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; +import googleTagManager from 'googleTagManager'; import { getPermalink } from '../modules/link/util'; import { getSelectedDate } from '../modules/date/selectors'; import HoverTooltip from '../components/util/hover-tooltip'; diff --git a/web/js/containers/share.js b/web/js/containers/share.js index 20ae208ff1..288cc248f1 100644 --- a/web/js/containers/share.js +++ b/web/js/containers/share.js @@ -1,7 +1,6 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; -import googleTagManager from 'googleTagManager'; import copy from 'copy-to-clipboard'; import { startCase as lodashStartCase, @@ -13,6 +12,7 @@ import { Nav, NavItem, NavLink, TabContent, TabPane, } from 'reactstrap'; +import googleTagManager from 'googleTagManager'; import ShareLinks from '../components/toolbar/share/links'; import ShareToolTips from '../components/toolbar/share/tooltips'; import { diff --git a/web/js/containers/sidebar/footer-content.js b/web/js/containers/sidebar/footer-content.js index cf09226738..b2cd150bc5 100644 --- a/web/js/containers/sidebar/footer-content.js +++ b/web/js/containers/sidebar/footer-content.js @@ -1,12 +1,12 @@ import React from 'react'; import PropTypes from 'prop-types'; -import googleTagManager from 'googleTagManager'; import { connect } from 'react-redux'; import { UncontrolledTooltip, } from 'reactstrap'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { isMobileOnly, isTablet } from 'react-device-detect'; +import googleTagManager from 'googleTagManager'; import Button from '../../components/util/button'; import ModeSelection from '../../components/sidebar/mode-selection'; import { toggleCompareOnOff, changeMode } from '../../modules/compare/actions'; diff --git a/web/js/containers/sidebar/layer-row.js b/web/js/containers/sidebar/layer-row.js index 37c32a89e6..f7b729564b 100644 --- a/web/js/containers/sidebar/layer-row.js +++ b/web/js/containers/sidebar/layer-row.js @@ -5,12 +5,12 @@ import React, { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; import { Draggable } from 'react-beautiful-dnd'; import { isEmpty as lodashIsEmpty, get as lodashGet } from 'lodash'; -import googleTagManager from 'googleTagManager'; import { connect } from 'react-redux'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { UncontrolledTooltip, Dropdown, DropdownToggle, DropdownMenu, DropdownItem, } from 'reactstrap'; +import googleTagManager from 'googleTagManager'; import PaletteLegend from '../../components/sidebar/paletteLegend'; import util from '../../util/util'; import { diff --git a/web/js/containers/sidebar/smart-handoff.js b/web/js/containers/sidebar/smart-handoff.js index 712f6e589a..8c364ead08 100644 --- a/web/js/containers/sidebar/smart-handoff.js +++ b/web/js/containers/sidebar/smart-handoff.js @@ -4,10 +4,10 @@ import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import * as olProj from 'ol/proj'; import { isEqual as lodashEqual } from 'lodash'; -import googleTagManager from 'googleTagManager'; import moment from 'moment'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { Spinner, UncontrolledTooltip } from 'reactstrap'; +import googleTagManager from 'googleTagManager'; import Button from '../../components/util/button'; import Checkbox from '../../components/util/checkbox'; import Crop from '../../components/util/image-crop'; diff --git a/web/js/containers/timeline/timeline.js b/web/js/containers/timeline/timeline.js index 545a537b94..38f6b8bfbe 100644 --- a/web/js/containers/timeline/timeline.js +++ b/web/js/containers/timeline/timeline.js @@ -2,13 +2,13 @@ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; import moment from 'moment'; -import googleTagManager from 'googleTagManager'; import { UncontrolledTooltip } from 'reactstrap'; import { debounce as lodashDebounce, throttle as lodashThrottle, get as lodashGet, } from 'lodash'; +import googleTagManager from 'googleTagManager'; import ErrorBoundary from '../error-boundary'; import MobileDatePicker from '../../components/timeline/mobile-date-picker'; import TimelineAxis from '../../components/timeline/timeline-axis/timeline-axis'; diff --git a/web/js/containers/tour.js b/web/js/containers/tour.js index 98c8d88a39..a69b5afd65 100644 --- a/web/js/containers/tour.js +++ b/web/js/containers/tour.js @@ -1,14 +1,14 @@ import React from 'react'; import PropTypes from 'prop-types'; import { connect } from 'react-redux'; -import googleTagManager from 'googleTagManager'; +import update from 'immutability-helper'; import { findIndex as lodashFindIndex, get as lodashGet, uniqBy, isEmpty as lodashIsEmpty, } from 'lodash'; -import update from 'immutability-helper'; +import googleTagManager from 'googleTagManager'; import JoyrideWrapper from '../components/tour/joyride-wrapper'; import TourStart from '../components/tour/modal-tour-start'; diff --git a/web/js/modules/layers/actions.js b/web/js/modules/layers/actions.js index 5ba351c8ac..95f875c570 100644 --- a/web/js/modules/layers/actions.js +++ b/web/js/modules/layers/actions.js @@ -1,8 +1,8 @@ import { findIndex as lodashFindIndex, } from 'lodash'; -import googleTagManager from 'googleTagManager'; import update from 'immutability-helper'; +import googleTagManager from 'googleTagManager'; import { addLayer as addLayerSelector, getLayers as getLayersSelector, diff --git a/web/js/modules/layers/util.js b/web/js/modules/layers/util.js index b708d71532..f40b54f475 100644 --- a/web/js/modules/layers/util.js +++ b/web/js/modules/layers/util.js @@ -8,8 +8,8 @@ import { isEqual as lodashIsEqual, } from 'lodash'; import moment from 'moment'; -import googleTagManager from 'googleTagManager'; import update from 'immutability-helper'; +import googleTagManager from 'googleTagManager'; import { addLayer, getStartingLayers, diff --git a/web/js/modules/link/actions.test.js b/web/js/modules/link/actions.test.js index 68c4e4f0c4..af16924bfe 100644 --- a/web/js/modules/link/actions.test.js +++ b/web/js/modules/link/actions.test.js @@ -1,7 +1,7 @@ +import { TextEncoder, TextDecoder } from 'util'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import fetchMock from 'fetch-mock'; -import { TextEncoder, TextDecoder } from 'util'; import * as actions from './actions'; import * as constants from './constants'; diff --git a/web/js/modules/modal/actions.test.js b/web/js/modules/modal/actions.test.js index f773690b46..64e262fde2 100644 --- a/web/js/modules/modal/actions.test.js +++ b/web/js/modules/modal/actions.test.js @@ -1,7 +1,7 @@ +import { TextEncoder, TextDecoder } from 'util'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import fetchMock from 'fetch-mock'; -import { TextEncoder, TextDecoder } from 'util'; import { openBasicContent, openCustomContent, diff --git a/web/js/modules/notifications/actions.test.js b/web/js/modules/notifications/actions.test.js index 02b8580721..d0f9b1b884 100644 --- a/web/js/modules/notifications/actions.test.js +++ b/web/js/modules/notifications/actions.test.js @@ -1,7 +1,7 @@ +import { TextEncoder, TextDecoder } from 'util'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import fetchMock from 'fetch-mock'; -import { TextEncoder, TextDecoder } from 'util'; import * as actions from './actions'; import * as constants from './constants'; diff --git a/web/js/modules/palettes/actions.test.js b/web/js/modules/palettes/actions.test.js index 79aa1d8edb..28538fccf2 100644 --- a/web/js/modules/palettes/actions.test.js +++ b/web/js/modules/palettes/actions.test.js @@ -1,9 +1,9 @@ +import { TextEncoder, TextDecoder } from 'util'; import configureMockStore from 'redux-mock-store'; import thunk from 'redux-thunk'; import fetchMock from 'fetch-mock'; import { assign, cloneDeep } from 'lodash'; import update from 'immutability-helper'; -import { TextEncoder, TextDecoder } from 'util'; import { requestPalette, setThresholdRangeAndSquash, diff --git a/web/js/modules/product-picker/reducers.js b/web/js/modules/product-picker/reducers.js index 51cac36024..5760c8bc8c 100644 --- a/web/js/modules/product-picker/reducers.js +++ b/web/js/modules/product-picker/reducers.js @@ -1,5 +1,5 @@ -import googleTagManager from 'googleTagManager'; import { get as lodashGet } from 'lodash'; +import googleTagManager from 'googleTagManager'; import { SAVE_SEARCH_STATE, diff --git a/web/js/modules/smart-handoff/util.js b/web/js/modules/smart-handoff/util.js index ee0184fc1c..c205e2aa2b 100644 --- a/web/js/modules/smart-handoff/util.js +++ b/web/js/modules/smart-handoff/util.js @@ -1,8 +1,8 @@ import { get } from 'lodash'; -import googleTagManager from 'googleTagManager'; -import { parseTemplate } from 'url-template'; import moment from 'moment'; +import { parseTemplate } from 'url-template'; +import googleTagManager from 'googleTagManager'; import { TOOLS_EARTHDATA_SEARCH } from './constants'; diff --git a/web/js/modules/tour/util.js b/web/js/modules/tour/util.js index e0280b536f..d20239adae 100644 --- a/web/js/modules/tour/util.js +++ b/web/js/modules/tour/util.js @@ -1,5 +1,5 @@ -import googleTagManager from 'googleTagManager'; import update from 'immutability-helper'; +import googleTagManager from 'googleTagManager'; import safeLocalStorage from '../../util/local-storage'; const { HIDE_TOUR } = safeLocalStorage.keys;