mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-03-31 19:11:35 +02:00
Move the end parts
This commit is contained in:
parent
182a2366ec
commit
7ca71efc4c
2 changed files with 2 additions and 2 deletions
src/pages
|
@ -22,6 +22,7 @@ function Following({ title, path, id, ...props }) {
|
||||||
const snapStates = useSnapshot(states);
|
const snapStates = useSnapshot(states);
|
||||||
const homeIterator = useRef();
|
const homeIterator = useRef();
|
||||||
const latestItem = useRef();
|
const latestItem = useRef();
|
||||||
|
__BENCHMARK.end('time-to-following');
|
||||||
|
|
||||||
console.debug('RENDER Following', title, id);
|
console.debug('RENDER Following', title, id);
|
||||||
const supportsPixelfed = supports('@pixelfed/home-include-reblogs');
|
const supportsPixelfed = supports('@pixelfed/home-include-reblogs');
|
||||||
|
@ -100,7 +101,6 @@ function Following({ title, path, id, ...props }) {
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
__BENCHMARK.end('time-to-following');
|
|
||||||
let sub;
|
let sub;
|
||||||
(async () => {
|
(async () => {
|
||||||
if (streaming) {
|
if (streaming) {
|
||||||
|
|
|
@ -27,8 +27,8 @@ import {
|
||||||
function Home() {
|
function Home() {
|
||||||
const { _ } = useLingui();
|
const { _ } = useLingui();
|
||||||
const snapStates = useSnapshot(states);
|
const snapStates = useSnapshot(states);
|
||||||
|
__BENCHMARK.end('time-to-home');
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
__BENCHMARK.end('time-to-home');
|
|
||||||
(async () => {
|
(async () => {
|
||||||
const keys = await db.drafts.keys();
|
const keys = await db.drafts.keys();
|
||||||
if (keys.length) {
|
if (keys.length) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue