1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed ramda imports to reduce bundle size

This commit is contained in:
Fedor Katurov 2022-01-25 11:24:42 +07:00
parent a497912049
commit 097b091abd
47 changed files with 208 additions and 91 deletions

View file

@ -1,11 +1,11 @@
import { useCallback, useEffect, useMemo, useState } from 'react';
import { flatten } from 'ramda';
import useSWRInfinite, { SWRInfiniteKeyLoader } from 'swr/infinite';
import { getSearchResults } from '~/api/flow';
import { INode } from '~/types';
import { GetSearchResultsRequest } from '~/types/flow';
import { flatten } from '~/utils/ramda';
const RESULTS_COUNT = 20;