|
|
@ -4,6 +4,7 @@ import { IntlProvider } from 'react-intl';
|
|
|
|
import { fetchInstance } from 'soapbox/actions/instance';
|
|
|
|
import { fetchInstance } from 'soapbox/actions/instance';
|
|
|
|
import { fetchMe } from 'soapbox/actions/me';
|
|
|
|
import { fetchMe } from 'soapbox/actions/me';
|
|
|
|
import { loadSoapboxConfig } from 'soapbox/actions/soapbox';
|
|
|
|
import { loadSoapboxConfig } from 'soapbox/actions/soapbox';
|
|
|
|
|
|
|
|
import { useSignerStream } from 'soapbox/api/hooks/nostr/useSignerStream';
|
|
|
|
import LoadingScreen from 'soapbox/components/loading-screen';
|
|
|
|
import LoadingScreen from 'soapbox/components/loading-screen';
|
|
|
|
import {
|
|
|
|
import {
|
|
|
|
useAppSelector,
|
|
|
|
useAppSelector,
|
|
|
@ -43,6 +44,8 @@ const SoapboxLoad: React.FC<ISoapboxLoad> = ({ children }) => {
|
|
|
|
const [localeLoading, setLocaleLoading] = useState(true);
|
|
|
|
const [localeLoading, setLocaleLoading] = useState(true);
|
|
|
|
const [isLoaded, setIsLoaded] = useState(false);
|
|
|
|
const [isLoaded, setIsLoaded] = useState(false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useSignerStream();
|
|
|
|
|
|
|
|
|
|
|
|
/** Whether to display a loading indicator. */
|
|
|
|
/** Whether to display a loading indicator. */
|
|
|
|
const showLoading = [
|
|
|
|
const showLoading = [
|
|
|
|
me === null,
|
|
|
|
me === null,
|
|
|
|