diff options
| author | Oskar <oskar@mullvad.net> | 2024-10-11 17:11:54 +0200 |
|---|---|---|
| committer | Oskar <oskar@mullvad.net> | 2024-10-22 15:18:10 +0200 |
| commit | 2deedc796ab42b8b20fa9db0e2d048ba11c2e21f (patch) | |
| tree | cf84c77cfd9d1a6f224c48ba53e10c082af9e1e4 /gui/src/renderer/components/cell | |
| parent | 1666ff934d648dc88f213a90dde96b1b0eca7692 (diff) | |
| download | mullvadvpn-2deedc796ab42b8b20fa9db0e2d048ba11c2e21f.tar.xz mullvadvpn-2deedc796ab42b8b20fa9db0e2d048ba11c2e21f.zip | |
Split utility-hooks into two files
Diffstat (limited to 'gui/src/renderer/components/cell')
6 files changed, 6 insertions, 6 deletions
diff --git a/gui/src/renderer/components/cell/Input.tsx b/gui/src/renderer/components/cell/Input.tsx index 9ff4994e42..de2649e3c6 100644 --- a/gui/src/renderer/components/cell/Input.tsx +++ b/gui/src/renderer/components/cell/Input.tsx @@ -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'; diff --git a/gui/src/renderer/components/cell/Section.tsx b/gui/src/renderer/components/cell/Section.tsx index 051730e424..b7465ecb93 100644 --- a/gui/src/renderer/components/cell/Section.tsx +++ b/gui/src/renderer/components/cell/Section.tsx @@ -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'; diff --git a/gui/src/renderer/components/cell/Selector.tsx b/gui/src/renderer/components/cell/Selector.tsx index cd689615e2..b1e20a0c41 100644 --- a/gui/src/renderer/components/cell/Selector.tsx +++ b/gui/src/renderer/components/cell/Selector.tsx @@ -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'; diff --git a/gui/src/renderer/components/cell/SettingsForm.tsx b/gui/src/renderer/components/cell/SettingsForm.tsx index f58c750bab..9a901d88d8 100644 --- a/gui/src/renderer/components/cell/SettingsForm.tsx +++ b/gui/src/renderer/components/cell/SettingsForm.tsx @@ -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; diff --git a/gui/src/renderer/components/cell/SettingsSelect.tsx b/gui/src/renderer/components/cell/SettingsSelect.tsx index d152b02c0c..7b5e1d7ab4 100644 --- a/gui/src/renderer/components/cell/SettingsSelect.tsx +++ b/gui/src/renderer/components/cell/SettingsSelect.tsx @@ -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'; diff --git a/gui/src/renderer/components/cell/SettingsTextInput.tsx b/gui/src/renderer/components/cell/SettingsTextInput.tsx index 1b45b49dbc..44381bc681 100644 --- a/gui/src/renderer/components/cell/SettingsTextInput.tsx +++ b/gui/src/renderer/components/cell/SettingsTextInput.tsx @@ -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'; |
