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:
parent
a497912049
commit
097b091abd
47 changed files with 208 additions and 91 deletions
|
@ -4,7 +4,6 @@ import format from 'date-fns/format';
|
|||
import formatDistanceToNow from 'date-fns/formatDistanceToNow';
|
||||
import isAfter from 'date-fns/isAfter';
|
||||
import ru from 'date-fns/locale/ru';
|
||||
import { pipe } from 'ramda';
|
||||
|
||||
import { COMMENT_BLOCK_DETECTORS, COMMENT_BLOCK_TYPES, ICommentBlock } from '~/constants/comment';
|
||||
import { PRESETS } from '~/constants/urls';
|
||||
|
@ -20,6 +19,7 @@ import {
|
|||
formatTextSanitizeYoutube,
|
||||
formatTextTodos,
|
||||
} from '~/utils/formatText';
|
||||
import { pipe } from '~/utils/ramda';
|
||||
import { splitTextByYoutube, splitTextOmitEmpty } from '~/utils/splitText';
|
||||
|
||||
function polarToCartesian(centerX, centerY, radius, angleInDegrees) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue