Skip to content

Commit

Permalink
Update utility hooks imports
Browse files Browse the repository at this point in the history
  • Loading branch information
raksooo committed Oct 14, 2024
1 parent a65602a commit f787bb2
Show file tree
Hide file tree
Showing 50 changed files with 55 additions and 51 deletions.
2 changes: 1 addition & 1 deletion gui/src/renderer/components/Account.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { formatDate, hasExpired } from '../../shared/account-expiry';
import { messages } from '../../shared/gettext';
import { useAppContext } from '../context';
import { useHistory } from '../lib/history';
import { useEffectEvent } from '../lib/utilityHooks';
import { useEffectEvent } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import AccountNumberLabel from './AccountNumberLabel';
import {
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/ApiAccessMethods.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { useApiAccessMethodTest } from '../lib/api-access-methods';
import { useHistory } from '../lib/history';
import { generateRoutePath } from '../lib/routeHelpers';
import { RoutePath } from '../lib/routes';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import * as Cell from './cell';
import {
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/AppButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';

import { colors } from '../../config.json';
import log from '../../shared/logging';
import { useMounted } from '../lib/utilityHooks';
import { useMounted } from '../lib/utility-hooks';
import {
StyledButtonContent,
StyledHiddenSide,
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/Changelog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';

import { messages } from '../../shared/gettext';
import { useAppContext } from '../context';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import * as AppButton from './AppButton';
import { hugeText, smallText } from './common-styles';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/ClipboardLabel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { colors } from '../../config.json';
import { messages } from '../../shared/gettext';
import log from '../../shared/logging';
import { useScheduler } from '../../shared/scheduler';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import ImageView from './ImageView';

const COPIED_ICON_DURATION = 2000;
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useCallback, useContext, useEffect, useMemo } from 'react';
import styled from 'styled-components';

import { colors } from '../../config.json';
import { useBoolean, useStyledRef } from '../lib/utilityHooks';
import { useBoolean, useStyledRef } from '../lib/utility-hooks';
import { smallText } from './common-styles';
import { BackAction } from './KeyboardNavigation';

Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/CustomDnsSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { messages } from '../../shared/gettext';
import { useAppContext } from '../context';
import { formatHtml } from '../lib/html-formatter';
import { IpAddress } from '../lib/ip';
import { useBoolean, useMounted, useStyledRef } from '../lib/utilityHooks';
import { useBoolean, useMounted, useStyledRef } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import Accordion from './Accordion';
import * as AppButton from './AppButton';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/DaitaSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { strings } from '../../config.json';
import { messages } from '../../shared/gettext';
import { useAppContext } from '../context';
import { useHistory } from '../lib/history';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import { AriaDescription, AriaInput, AriaInputGroup, AriaLabel } from './AriaGroup';
import * as Cell from './cell';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/Debug.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useCallback } from 'react';
import styled from 'styled-components';

import { useHistory } from '../lib/history';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import * as AppButton from './AppButton';
import { measurements } from './common-styles';
import { BackAction } from './KeyboardNavigation';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/DeviceInfoButton.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import styled from 'styled-components';

import { messages } from '../../shared/gettext';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import * as AppButton from './AppButton';
import { InfoIcon } from './InfoButton';
import { ModalAlert, ModalAlertType, ModalMessage } from './Modal';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/EditApiAccessMethod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { useScheduler } from '../../shared/scheduler';
import { useAppContext } from '../context';
import { useApiAccessMethodTest } from '../lib/api-access-methods';
import { useHistory } from '../lib/history';
import { useEffectEvent } from '../lib/utilityHooks';
import { useEffectEvent } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import { SettingsForm } from './cell/SettingsForm';
import { BackAction } from './KeyboardNavigation';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/EditCustomBridge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { CustomProxy } from '../../shared/daemon-rpc-types';
import { messages } from '../../shared/gettext';
import { useBridgeSettingsUpdater } from '../lib/constraint-updater';
import { useHistory } from '../lib/history';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import { SettingsForm } from './cell/SettingsForm';
import { BackAction } from './KeyboardNavigation';
Expand Down
3 changes: 2 additions & 1 deletion gui/src/renderer/components/Filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import {
filterLocationsByEndPointType,
} from '../lib/filter-locations';
import { useHistory } from '../lib/history';
import { useBoolean, useNormalRelaySettings, useTunnelProtocol } from '../lib/utilityHooks';
import { useNormalRelaySettings, useTunnelProtocol } from '../lib/relay-settings-hooks';
import { useBoolean } from '../lib/utility-hooks';
import { IRelayLocationCountryRedux } from '../redux/settings/reducers';
import { useSelector } from '../redux/store';
import Accordion from './Accordion';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/FormattableTextInput.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useCallback, useEffect } from 'react';

import { useCombinedRefs, useStyledRef } from '../lib/utilityHooks';
import { useCombinedRefs, useStyledRef } from '../lib/utility-hooks';

interface IFormattableTextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
allowedCharacters: string;
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/InfoButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import styled from 'styled-components';

import { colors } from '../../config.json';
import { messages } from '../../shared/gettext';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import * as AppButton from './AppButton';
import ImageView from './ImageView';
import { ModalAlert, ModalAlertType } from './Modal';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/KeyboardNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useLocation } from 'react-router';
import { useHistory } from '../lib/history';
import { disableDismissForRoutes } from '../lib/routeHelpers';
import { RoutePath } from '../lib/routes';
import { useEffectEvent } from '../lib/utilityHooks';
import { useEffectEvent } from '../lib/utility-hooks';

interface IKeyboardNavigationProps {
children: React.ReactElement | Array<React.ReactElement>;
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/Launch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { messages } from '../../shared/gettext';
import { useAppContext } from '../context';
import { transitions, useHistory } from '../lib/history';
import { RoutePath } from '../lib/routes';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import * as AppButton from './AppButton';
import { measurements, tinyText } from './common-styles';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/List.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useCallback, useEffect, useRef, useState } from 'react';
import styled from 'styled-components';

import { Scheduler } from '../../shared/scheduler';
import { useEffectEvent } from '../lib/utilityHooks';
import { useEffectEvent } from '../lib/utility-hooks';
import Accordion from './Accordion';

export const stringValueAsKey = (value: string): string => value;
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/MacOsScrollbarDetection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';

import { MacOsScrollbarVisibility } from '../../shared/ipc-schema';
import useActions from '../lib/actionsHook';
import { useEffectEvent, useStyledRef } from '../lib/utilityHooks';
import { useEffectEvent, useStyledRef } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import userInterface from '../redux/userinterface/actions';

Expand Down
3 changes: 2 additions & 1 deletion gui/src/renderer/components/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
useEffectEvent,
useRefCallback,
useRerenderer,
} from '../lib/utilityHooks';
} from '../lib/utility-hooks';
import { useSelector } from '../redux/store';

// Default to Gothenburg when we don't know the actual location.
Expand Down Expand Up @@ -90,6 +90,7 @@ function MapInner(props: MapInnerProps) {

const mapRef = useRef<GlMap>();
const canvasRef = useRef<HTMLCanvasElement>();

// eslint-disable-next-line react-compiler/react-compiler
const width = applyPixelRatio(canvasRef.current?.clientWidth ?? window.innerWidth);

Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/Modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styled from 'styled-components';

import { colors } from '../../config.json';
import log from '../../shared/logging';
import { useEffectEvent } from '../lib/utilityHooks';
import { useEffectEvent } from '../lib/utility-hooks';
import * as AppButton from './AppButton';
import { measurements, normalText, tinyText } from './common-styles';
import CustomScrollbars from './CustomScrollbars';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/NavigationBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { colors } from '../../config.json';
import { messages } from '../../shared/gettext';
import { useAppContext } from '../context';
import { transitions, useHistory } from '../lib/history';
import { useCombinedRefs, useEffectEvent, useInitialValue } from '../lib/utilityHooks';
import { useCombinedRefs, useEffectEvent, useInitialValue } from '../lib/utility-hooks';
import CustomScrollbars, { CustomScrollbarsRef, IScrollEvent } from './CustomScrollbars';
import InfoButton from './InfoButton';
import { BackActionContext } from './KeyboardNavigation';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/NotificationBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styled from 'styled-components';
import { colors } from '../../config.json';
import { messages } from '../../shared/gettext';
import { InAppNotificationIndicatorType } from '../../shared/notifications/notification';
import { useEffectEvent, useLastDefinedValue, useStyledRef } from '../lib/utilityHooks';
import { useEffectEvent, useLastDefinedValue, useStyledRef } from '../lib/utility-hooks';
import * as AppButton from './AppButton';
import { tinyText } from './common-styles';
import ImageView from './ImageView';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/OpenVpnSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { useAppContext } from '../context';
import { useRelaySettingsUpdater } from '../lib/constraint-updater';
import { useHistory } from '../lib/history';
import { formatHtml } from '../lib/html-formatter';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import { AriaDescription, AriaInput, AriaInputGroup, AriaLabel } from './AriaGroup';
import * as Cell from './cell';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/PageSlider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';

import { colors } from '../../config.json';
import { NonEmptyArray } from '../../shared/utils';
import { useStyledRef } from '../lib/utilityHooks';
import { useStyledRef } from '../lib/utility-hooks';
import { Icon } from './cell';

const PAGE_GAP = 16;
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/ProblemReport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { getDownloadUrl } from '../../shared/version';
import { useAppContext } from '../context';
import useActions from '../lib/actionsHook';
import { useHistory } from '../lib/history';
import { useEffectEvent } from '../lib/utilityHooks';
import { useEffectEvent } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import support from '../redux/support/actions';
import * as AppButton from './AppButton';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/ProxyForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from '../../shared/daemon-rpc-types';
import { messages } from '../../shared/gettext';
import { IpAddress } from '../lib/ip';
import { useEffectEvent } from '../lib/utilityHooks';
import { useEffectEvent } from '../lib/utility-hooks';
import * as Cell from './cell';
import { SettingsForm, useSettingsFormSubmittable } from './cell/SettingsForm';
import { SettingsGroup } from './cell/SettingsGroup';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';

import { colors } from '../../config.json';
import { messages } from '../../shared/gettext';
import { useEffectEvent, useStyledRef } from '../lib/utilityHooks';
import { useEffectEvent, useStyledRef } from '../lib/utility-hooks';
import { normalText } from './common-styles';
import ImageView from './ImageView';

Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/SettingsImport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { useAppContext } from '../context';
import useActions from '../lib/actionsHook';
import { transitions, useHistory } from '../lib/history';
import { RoutePath } from '../lib/routes';
import { useBoolean, useEffectEvent } from '../lib/utilityHooks';
import { useBoolean, useEffectEvent } from '../lib/utility-hooks';
import settingsImportActions from '../redux/settings-import/actions';
import { useSelector } from '../redux/store';
import { measurements, normalText } from './common-styles';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/SettingsTextImport.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { colors } from '../../config.json';
import { messages } from '../../shared/gettext';
import useActions from '../lib/actionsHook';
import { useHistory } from '../lib/history';
import { useCombinedRefs, useEffectEvent, useStyledRef } from '../lib/utilityHooks';
import { useCombinedRefs, useEffectEvent, useStyledRef } from '../lib/utility-hooks';
import settingsImportActions from '../redux/settings-import/actions';
import { useSelector } from '../redux/store';
import ImageView from './ImageView';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/SimpleInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useCallback, useState } from 'react';
import React from 'react';
import styled from 'styled-components';

import { useCombinedRefs } from '../lib/utilityHooks';
import { useCombinedRefs } from '../lib/utility-hooks';
import { normalText } from './common-styles';

const StyledInput = styled.input.attrs({ type: 'text' })(normalText, {
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/SplitTunnelingSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { messages } from '../../shared/gettext';
import { useAppContext } from '../context';
import { useHistory } from '../lib/history';
import { formatHtml } from '../lib/html-formatter';
import { useEffectEvent, useStyledRef } from '../lib/utilityHooks';
import { useEffectEvent, useStyledRef } from '../lib/utility-hooks';
import { IReduxState } from '../redux/store';
import Accordion from './Accordion';
import * as AppButton from './AppButton';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/TooManyDevices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useAppContext } from '../context';
import { transitions, useHistory } from '../lib/history';
import { formatHtml } from '../lib/html-formatter';
import { RoutePath } from '../lib/routes';
import { useBoolean } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { useSelector } from '../redux/store';
import * as AppButton from './AppButton';
import * as Cell from './cell';
Expand Down
3 changes: 2 additions & 1 deletion gui/src/renderer/components/VpnSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ import { useAppContext } from '../context';
import { useRelaySettingsUpdater } from '../lib/constraint-updater';
import { useHistory } from '../lib/history';
import { formatHtml } from '../lib/html-formatter';
import { useTunnelProtocol } from '../lib/relay-settings-hooks';
import { RoutePath } from '../lib/routes';
import { useBoolean, useTunnelProtocol } from '../lib/utilityHooks';
import { useBoolean } from '../lib/utility-hooks';
import { RelaySettingsRedux } from '../redux/settings/reducers';
import { useSelector } from '../redux/store';
import * as AppButton from './AppButton';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/cell/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useCallback, useContext, useEffect, useState } from 'react';
import styled from 'styled-components';

import { colors } from '../../../config.json';
import { useBoolean, useCombinedRefs, useEffectEvent, useStyledRef } from '../../lib/utilityHooks';
import { useBoolean, useCombinedRefs, useEffectEvent, useStyledRef } from '../../lib/utility-hooks';
import { normalText } from '../common-styles';
import ImageView from '../ImageView';
import { BackAction } from '../KeyboardNavigation';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/cell/Section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import styled from 'styled-components';
import { colors } from '../../../config.json';
import { useAppContext } from '../../context';
import { useHistory } from '../../lib/history';
import { useBoolean, useEffectEvent } from '../../lib/utilityHooks';
import { useBoolean, useEffectEvent } from '../../lib/utility-hooks';
import Accordion from '../Accordion';
import ChevronButton from '../ChevronButton';
import { buttonText, openSans, sourceSansPro } from '../common-styles';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/cell/Selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { colors } from '../../../config.json';
import { messages } from '../../../shared/gettext';
import { useHistory } from '../../lib/history';
import { RoutePath } from '../../lib/routes';
import { useStyledRef } from '../../lib/utilityHooks';
import { useStyledRef } from '../../lib/utility-hooks';
import { AriaDetails, AriaInput, AriaLabel } from '../AriaGroup';
import ImageView from '../ImageView';
import InfoButton from '../InfoButton';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/cell/SettingsForm.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useCallback, useContext, useEffect, useId, useMemo, useState } from 'react';

import { useEffectEvent } from '../../lib/utilityHooks';
import { useEffectEvent } from '../../lib/utility-hooks';

interface SettingsFormContext {
formSubmittable: boolean;
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/cell/SettingsSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import styled from 'styled-components';

import { colors } from '../../../config.json';
import { useScheduler } from '../../../shared/scheduler';
import { useBoolean, useEffectEvent } from '../../lib/utilityHooks';
import { useBoolean, useEffectEvent } from '../../lib/utility-hooks';
import { AriaInput } from '../AriaGroup';
import { smallNormalText } from '../common-styles';
import CustomScrollbars from '../CustomScrollbars';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/cell/SettingsTextInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useCallback, useEffect } from 'react';
import styled from 'styled-components';

import { colors } from '../../../config.json';
import { useEffectEvent } from '../../lib/utilityHooks';
import { useEffectEvent } from '../../lib/utility-hooks';
import { AriaInput } from '../AriaGroup';
import { smallNormalText } from '../common-styles';
import { useSettingsFormSubmittableReporter } from './SettingsForm';
Expand Down
2 changes: 1 addition & 1 deletion gui/src/renderer/components/main-view/ConnectionPanel.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useCallback, useEffect } from 'react';
import styled from 'styled-components';

import { useBoolean } from '../../lib/utilityHooks';
import { useBoolean } from '../../lib/utility-hooks';
import { useSelector } from '../../redux/store';
import CustomScrollbars from '../CustomScrollbars';
import { BackAction } from '../KeyboardNavigation';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import styled from 'styled-components';
import { colors, strings } from '../../../config.json';
import { FeatureIndicator } from '../../../shared/daemon-rpc-types';
import { messages } from '../../../shared/gettext';
import { useStyledRef } from '../../lib/utilityHooks';
import { useStyledRef } from '../../lib/utility-hooks';
import { useSelector } from '../../redux/store';
import { tinyText } from '../common-styles';
import { InfoIcon } from '../InfoButton';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import { messages } from '../../../shared/gettext';
import log from '../../../shared/logging';
import { useAppContext } from '../../context';
import { formatHtml } from '../../lib/html-formatter';
import { useBoolean } from '../../lib/utilityHooks';
import { useBoolean } from '../../lib/utility-hooks';
import { useSelector } from '../../redux/store';
import * as AppButton from '../AppButton';
import * as Cell from '../cell';
Expand Down
Loading

0 comments on commit f787bb2

Please sign in to comment.