Changeset View
Changeset View
Standalone View
Standalone View
web/app.react.js
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | |||||
import DisconnectedBarVisibilityHandler from './redux/disconnected-bar-visibility-handler'; | import DisconnectedBarVisibilityHandler from './redux/disconnected-bar-visibility-handler'; | ||||
import FocusHandler from './redux/focus-handler.react'; | import FocusHandler from './redux/focus-handler.react'; | ||||
import PolicyAcknowledgmentHandler from './redux/policy-acknowledgment-handler.js'; | import PolicyAcknowledgmentHandler from './redux/policy-acknowledgment-handler.js'; | ||||
import { useSelector } from './redux/redux-utils'; | import { useSelector } from './redux/redux-utils'; | ||||
import VisibilityHandler from './redux/visibility-handler.react'; | import VisibilityHandler from './redux/visibility-handler.react'; | ||||
import history from './router-history'; | import history from './router-history'; | ||||
import AccountSettings from './settings/account-settings.react'; | import AccountSettings from './settings/account-settings.react'; | ||||
import DangerZone from './settings/danger-zone.react'; | import DangerZone from './settings/danger-zone.react'; | ||||
import AppSwitcher from './sidebar/app-switcher.react'; | |||||
import CommunityPicker from './sidebar/community-picker.react'; | import CommunityPicker from './sidebar/community-picker.react'; | ||||
import SettingsSwitcher from './sidebar/settings-switcher.react'; | |||||
import Splash from './splash/splash.react'; | import Splash from './splash/splash.react'; | ||||
import './typography.css'; | import './typography.css'; | ||||
import css from './style.css'; | import css from './style.css'; | ||||
import getTitle from './title/getTitle'; | import getTitle from './title/getTitle'; | ||||
import AppSwitcher from './topbar/app-switcher.react'; | |||||
import SettingsSwitcher from './topbar/settings-switcher.react'; | |||||
import { type NavInfo } from './types/nav-types'; | import { type NavInfo } from './types/nav-types'; | ||||
import { canonicalURLFromReduxState, navInfoFromURL } from './url-utils'; | import { canonicalURLFromReduxState, navInfoFromURL } from './url-utils'; | ||||
// We want Webpack's css-loader and style-loader to handle the Fontawesome CSS, | // We want Webpack's css-loader and style-loader to handle the Fontawesome CSS, | ||||
// so we disable the autoAddCss logic and import the CSS file. Otherwise every | // so we disable the autoAddCss logic and import the CSS file. Otherwise every | ||||
// icon flashes huge for a second before the CSS is loaded. | // icon flashes huge for a second before the CSS is loaded. | ||||
import '@fortawesome/fontawesome-svg-core/styles.css'; | import '@fortawesome/fontawesome-svg-core/styles.css'; | ||||
faConfig.autoAddCss = false; | faConfig.autoAddCss = false; | ||||
▲ Show 20 Lines • Show All 261 Lines • Show Last 20 Lines |