mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
fixed for nextjs, but it won't work
This commit is contained in:
parent
33e9e01f29
commit
4b79b06106
39 changed files with 64 additions and 63 deletions
|
@ -1,9 +1,9 @@
|
|||
import curry from 'ramda/es/curry';
|
||||
import insert from 'ramda/es/insert';
|
||||
import nth from 'ramda/es/nth';
|
||||
import remove from 'ramda/es/remove';
|
||||
import { curry } from 'ramda';
|
||||
import { insert } from 'ramda';
|
||||
import { nth } from 'ramda';
|
||||
import { remove } from 'ramda';
|
||||
import { ICommentGroup, IComment } from '~/redux/types';
|
||||
import path from 'ramda/es/path';
|
||||
import { path } from 'ramda';
|
||||
|
||||
export const moveArrItem = curry((at, to, list) => insert(to, nth(at, list), remove(at, 1, list)));
|
||||
export const objFromArray = (array: any[], key: string) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue