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