diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
---|---|---|
committer | Samuel Newman <mozzius@protonmail.com> | 2024-03-12 22:02:28 +0000 |
commit | 1512b5cf68e9e92801a894392569b444fd6af1d1 (patch) | |
tree | f756f3a4405127839e6f31ee46945e0b2cfe954f /src/state/session/index.tsx | |
parent | a3c09f9f862a4b4abe43cbb6d1042369fb1e14ba (diff) | |
download | voidsky-1512b5cf68e9e92801a894392569b444fd6af1d1.tar.zst |
run linter
Diffstat (limited to 'src/state/session/index.tsx')
-rw-r--r-- | src/state/session/index.tsx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/state/session/index.tsx b/src/state/session/index.tsx index 46628318c..9918e2e75 100644 --- a/src/state/session/index.tsx +++ b/src/state/session/index.tsx @@ -1,17 +1,18 @@ -import React from 'react' -import {BskyAgent, AtpPersistSessionHandler} from '@atproto/api' +import {AtpPersistSessionHandler, BskyAgent} from '@atproto/api' import {useQueryClient} from '@tanstack/react-query' import {jwtDecode} from 'jwt-decode' +import React from 'react' +import {track} from '#/lib/analytics/analytics' import {networkRetry} from '#/lib/async/retry' +import {hasProp} from '#/lib/type-guards' import {logger} from '#/logger' import * as persisted from '#/state/persisted' import {PUBLIC_BSKY_AGENT} from '#/state/queries' -import {emitSessionDropped} from '../events' import {useLoggedOutViewControls} from '#/state/shell/logged-out' import {useCloseAllActiveElements} from '#/state/util' -import {track} from '#/lib/analytics/analytics' -import {hasProp} from '#/lib/type-guards' + +import {emitSessionDropped} from '../events' let __globalAgent: BskyAgent = PUBLIC_BSKY_AGENT |