kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Lint
rodzic
7836698dc2
commit
7ac18c0951
|
@ -36,6 +36,7 @@ import HomePage from 'soapbox/pages/home_page';
|
||||||
import ProfilePage from 'soapbox/pages/profile_page';
|
import ProfilePage from 'soapbox/pages/profile_page';
|
||||||
import RemoteInstancePage from 'soapbox/pages/remote_instance_page';
|
import RemoteInstancePage from 'soapbox/pages/remote_instance_page';
|
||||||
import StatusPage from 'soapbox/pages/status_page';
|
import StatusPage from 'soapbox/pages/status_page';
|
||||||
|
import { queryClient } from 'soapbox/queries/client';
|
||||||
import { getAccessToken, getVapidKey } from 'soapbox/utils/auth';
|
import { getAccessToken, getVapidKey } from 'soapbox/utils/auth';
|
||||||
import { isStandalone } from 'soapbox/utils/state';
|
import { isStandalone } from 'soapbox/utils/state';
|
||||||
// import GroupSidebarPanel from '../groups/sidebar_panel';
|
// import GroupSidebarPanel from '../groups/sidebar_panel';
|
||||||
|
@ -120,7 +121,6 @@ import { WrappedRoute } from './util/react_router_helpers';
|
||||||
// Dummy import, to make sure that <Status /> ends up in the application bundle.
|
// Dummy import, to make sure that <Status /> ends up in the application bundle.
|
||||||
// Without this it ends up in ~8 very commonly used bundles.
|
// Without this it ends up in ~8 very commonly used bundles.
|
||||||
import 'soapbox/components/status';
|
import 'soapbox/components/status';
|
||||||
import { queryClient } from 'soapbox/queries/client';
|
|
||||||
|
|
||||||
const EmptyPage = HomePage;
|
const EmptyPage = HomePage;
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ type Avatar = {
|
||||||
username: string
|
username: string
|
||||||
}
|
}
|
||||||
|
|
||||||
const getCarouselAvatars = async () => {
|
const getCarouselAvatars = async() => {
|
||||||
const { data } = await API.get('/api/v1/truth/carousels/avatars');
|
const { data } = await API.get('/api/v1/truth/carousels/avatars');
|
||||||
return data;
|
return data;
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue