mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-28 14:16:41 +07:00
fixed ramda imports to reduce bundle size
This commit is contained in:
parent
a497912049
commit
097b091abd
47 changed files with 208 additions and 91 deletions
|
@ -1,6 +1,5 @@
|
|||
import { has, path } from 'ramda';
|
||||
|
||||
import { ERROR_LITERAL, ERRORS } from '~/constants/errors';
|
||||
import { has, path } from '~/utils/ramda';
|
||||
|
||||
export const getErrorMessage = (error: unknown): string | undefined => {
|
||||
if (error === undefined) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue