diff options
Diffstat (limited to 'src/components/layout/AppLayout.tsx')
-rw-r--r-- | src/components/layout/AppLayout.tsx | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/components/layout/AppLayout.tsx b/src/components/layout/AppLayout.tsx index 97795212a..160664c20 100644 --- a/src/components/layout/AppLayout.tsx +++ b/src/components/layout/AppLayout.tsx | |||
@@ -1,28 +1,33 @@ | |||
1 | import React, { Component, PropsWithChildren } from 'react'; | ||
2 | import { observer } from 'mobx-react'; | ||
3 | import { defineMessages, injectIntl, WrappedComponentProps } from 'react-intl'; | ||
4 | import { TitleBar } from 'electron-react-titlebar/renderer'; | ||
5 | import injectSheet, { WithStylesProps } from 'react-jss'; | ||
6 | import { ipcRenderer } from 'electron'; | 1 | import { ipcRenderer } from 'electron'; |
2 | import { TitleBar } from 'electron-react-titlebar/renderer'; | ||
3 | import { observer } from 'mobx-react'; | ||
4 | import type React from 'react'; | ||
5 | import { Component, type PropsWithChildren } from 'react'; | ||
6 | import { | ||
7 | type WrappedComponentProps, | ||
8 | defineMessages, | ||
9 | injectIntl, | ||
10 | } from 'react-intl'; | ||
11 | import injectSheet, { type WithStylesProps } from 'react-jss'; | ||
7 | 12 | ||
8 | import { mdiFlash, mdiPowerPlug } from '@mdi/js'; | 13 | import { mdiFlash, mdiPowerPlug } from '@mdi/js'; |
9 | import { Outlet } from 'react-router-dom'; | 14 | import { Outlet } from 'react-router-dom'; |
10 | import InfoBar from '../ui/InfoBar'; | ||
11 | import { Component as BasicAuth } from '../../features/basicAuth'; | 15 | import { Component as BasicAuth } from '../../features/basicAuth'; |
12 | import { Component as QuickSwitch } from '../../features/quickSwitch'; | ||
13 | import { Component as PublishDebugInfo } from '../../features/publishDebugInfo'; | 16 | import { Component as PublishDebugInfo } from '../../features/publishDebugInfo'; |
14 | import ErrorBoundary from '../util/ErrorBoundary'; | 17 | import { Component as QuickSwitch } from '../../features/quickSwitch'; |
15 | import { updateVersionParse } from '../../helpers/update-helpers'; | 18 | import { updateVersionParse } from '../../helpers/update-helpers'; |
19 | import InfoBar from '../ui/InfoBar'; | ||
20 | import ErrorBoundary from '../util/ErrorBoundary'; | ||
16 | 21 | ||
17 | import { isMac, isWindows } from '../../environment'; | 22 | import { isMac, isWindows } from '../../environment'; |
18 | import WorkspaceSwitchingIndicator from '../../features/workspaces/components/WorkspaceSwitchingIndicator'; | 23 | import Todos from '../../features/todos/containers/TodosScreen'; |
19 | import { workspaceStore } from '../../features/workspaces'; | 24 | import { workspaceStore } from '../../features/workspaces'; |
25 | import WorkspaceSwitchingIndicator from '../../features/workspaces/components/WorkspaceSwitchingIndicator'; | ||
20 | import AppUpdateInfoBar from '../AppUpdateInfoBar'; | 26 | import AppUpdateInfoBar from '../AppUpdateInfoBar'; |
21 | import Todos from '../../features/todos/containers/TodosScreen'; | ||
22 | import Icon from '../ui/icon'; | 27 | import Icon from '../ui/icon'; |
23 | 28 | ||
24 | import LockedScreen from '../../containers/auth/LockedScreen'; | 29 | import LockedScreen from '../../containers/auth/LockedScreen'; |
25 | import SettingsStore from '../../stores/SettingsStore'; | 30 | import type SettingsStore from '../../stores/SettingsStore'; |
26 | 31 | ||
27 | const messages = defineMessages({ | 32 | const messages = defineMessages({ |
28 | servicesUpdated: { | 33 | servicesUpdated: { |