1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-30 15:16:41 +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
src/hooks/data

View file

@ -1,8 +1,7 @@
import { useMemo } from 'react';
import { has } from 'ramda';
import { ERROR_LITERAL } from '~/constants/errors';
import { has } from '~/utils/ramda';
export const useTranslatedError = (error: string | undefined) => {
return useMemo(() => {