mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36: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 { tagSetAutocomplete, tagSetNodes } from '~/redux/tag/actions';
|
||||
|
||||
const setNodes = (state: ITagState, { nodes }: ReturnType<typeof tagSetNodes>) => {
|
||||
console.log(state, nodes);
|
||||
|
||||
return {
|
||||
...state,
|
||||
nodes: {
|
||||
...state.nodes,
|
||||
...nodes,
|
||||
},
|
||||
};
|
||||
};
|
||||
const setNodes = (state: ITagState, { nodes }: ReturnType<typeof tagSetNodes>) => ({
|
||||
...state,
|
||||
nodes: {
|
||||
...state.nodes,
|
||||
...nodes,
|
||||
},
|
||||
});
|
||||
|
||||
const setAutocomplete = (
|
||||
state: ITagState,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue