diff --git a/src/Expensify.tsx b/src/Expensify.tsx index 8ec3fa194cf9..620243440384 100644 --- a/src/Expensify.tsx +++ b/src/Expensify.tsx @@ -41,7 +41,7 @@ import PopoverReportActionContextMenu from './pages/home/report/ContextMenu/Popo import * as ReportActionContextMenu from './pages/home/report/ContextMenu/ReportActionContextMenu'; import type {Route} from './ROUTES'; import ROUTES from './ROUTES'; -import type {ScreenShareRequest, Session} from './types/onyx'; +import type {ScreenShareRequest} from './types/onyx'; Onyx.registerLogger(({level, message}) => { if (level === 'alert') { @@ -58,9 +58,6 @@ type ExpensifyOnyxProps = { /** Whether the app is waiting for the server's response to determine if a room is public */ isCheckingPublicRoom: OnyxEntry; - /** Session info for the currently logged in user. */ - session: OnyxEntry; - /** Whether a new update is available and ready to install. */ updateAvailable: OnyxEntry; @@ -91,7 +88,6 @@ const SplashScreenHiddenContext = React.createContext { @@ -317,9 +314,6 @@ export default withOnyx({ key: ONYXKEYS.IS_CHECKING_PUBLIC_ROOM, initWithStoredValues: false, }, - session: { - key: ONYXKEYS.SESSION, - }, updateAvailable: { key: ONYXKEYS.UPDATE_AVAILABLE, initWithStoredValues: false,