Skip to content

Commit 5cf62d2

Browse files
committed
fix lint
1 parent a732dd6 commit 5cf62d2

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/action/app/Routes.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { t } from '@lingui/core/macro'
22

33
import { useDesktopLogout } from '../../hooks/useDesktopLogout'
4+
import { useInactivity } from '../../hooks/useInactivity'
45
import { FadeInWrapper } from '../../shared/components/FadeInWrapper'
56
import { NAVIGATION_ROUTES } from '../../shared/constants/navigation'
67
import { useModal } from '../../shared/context/ModalContext'
@@ -15,7 +16,6 @@ import { RecordList } from '../pages/RecordList'
1516
import { SelectPasskey } from '../pages/SelectPasskey'
1617
import { Settings } from '../pages/Settings'
1718
import { WelcomePage } from '../pages/WelcomePage'
18-
import { useInactivity } from '../../hooks/useInactivity'
1919

2020
export const Routes = () => {
2121
const { currentPage, navigate } = useRouter()

src/action/pages/Settings/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {
1313
} from 'pearpass-lib-constants'
1414

1515
import { version } from '../../../../public/manifest.json'
16+
import { useAutoLockPreferences } from '../../../hooks/useAutoLockPreferences'
1617
import { useLanguageOptions } from '../../../hooks/useLanguageOptions'
1718
import { ButtonRoundIcon } from '../../../shared/components/ButtonRoundIcon'
1819
import { ButtonSecondary } from '../../../shared/components/ButtonSecondary'
@@ -36,7 +37,6 @@ import {
3637
} from '../../../shared/utils/autofillSetting'
3738
import { isPasswordChangeReminderDisabled } from '../../../shared/utils/isPasswordChangeReminderDisabled'
3839
import { logger } from '../../../shared/utils/logger'
39-
import { useAutoLockPreferences } from '../../../hooks/useAutoLockPreferences'
4040

4141
export const TIMEOUT_OPTIONS = Object.values(AUTO_LOCK_TIMEOUT_OPTIONS)
4242

src/shared/components/Switch/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const Switch = ({ isOn, onChange }) => {
1414
return (
1515
<button
1616
onClick={toggleSwitch}
17-
className={`relative shrink-0 h-6 w-12 cursor-pointer rounded-full border border-green-100 transition-all duration-300 ease-in-out ${isOn ? 'bg-grey400-mode1' : 'bg-grey100-mode1'}`}
17+
className={`relative h-6 w-12 shrink-0 cursor-pointer rounded-full border border-green-100 transition-all duration-300 ease-in-out ${isOn ? 'bg-grey400-mode1' : 'bg-grey100-mode1'}`}
1818
>
1919
<div
2020
className={`${isOn ? 'bg-primary400-mode1' : 'bg-grey400-mode1'} absolute top-[1px] left-[1px] h-5 w-5 rounded-full shadow-md transition-transform duration-300 ease-in-out ${isOn ? 'translate-x-6' : ''}`}

0 commit comments

Comments
 (0)