убрал перф логирование
Tests / frontend-test (push) Successful in 1m11s

This commit is contained in:
gorbenko.pavel
2026-08-19 16:36:10 +05:00
parent 6f789f8f1c
commit 7bd540e816
4 changed files with 63 additions and 105 deletions
@@ -4,7 +4,6 @@ import { getLinkedTypes, hydratePendingAuthors, searchMyRequests } from './myReq
import { IMyRequest } from './models/IMyRequest';
import { IRequestType, StatusBadge } from '../../shared/approval';
import { onRequestsChanged } from '../../shared/requestEvents';
import { traced } from './perfTrace';
import { useRoutedQuery } from '../../shared/usePersistedQuery';
import { pageKey, pageSignature, readPage, writePage } from './pageCache';
import { Pager } from './Pager';
@@ -186,7 +185,7 @@ export const SearchView: React.FC<ISearchViewProps> = ({
const load = async (forceRender = false): Promise<void> => {
try {
const fresh = await traced('ИТОГО поиск', () => searchMyRequests(context, types, debouncedQuery));
const fresh = await searchMyRequests(context, types, debouncedQuery);
if (cancelled) return;
applyKnownAuthors(fresh.rows, authors.current);
const prev = readPage(cacheKey);