mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
removed console.log
This commit is contained in:
parent
62e607c425
commit
1da36ef036
1 changed files with 7 additions and 11 deletions
|
@ -2,17 +2,13 @@ import { TAG_ACTIONS } from '~/redux/tag/constants';
|
||||||
import { ITagState } from '~/redux/tag/index';
|
import { ITagState } from '~/redux/tag/index';
|
||||||
import { tagSetAutocomplete, tagSetNodes } from '~/redux/tag/actions';
|
import { tagSetAutocomplete, tagSetNodes } from '~/redux/tag/actions';
|
||||||
|
|
||||||
const setNodes = (state: ITagState, { nodes }: ReturnType<typeof tagSetNodes>) => {
|
const setNodes = (state: ITagState, { nodes }: ReturnType<typeof tagSetNodes>) => ({
|
||||||
console.log(state, nodes);
|
|
||||||
|
|
||||||
return {
|
|
||||||
...state,
|
...state,
|
||||||
nodes: {
|
nodes: {
|
||||||
...state.nodes,
|
...state.nodes,
|
||||||
...nodes,
|
...nodes,
|
||||||
},
|
},
|
||||||
};
|
});
|
||||||
};
|
|
||||||
|
|
||||||
const setAutocomplete = (
|
const setAutocomplete = (
|
||||||
state: ITagState,
|
state: ITagState,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue