mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
added error display
This commit is contained in:
parent
b4d55a49ba
commit
7d09eb26f5
7 changed files with 45 additions and 4 deletions
|
@ -70,7 +70,7 @@ export const nodeSetRelated = (related: INodeState['related']) => ({
|
|||
type: NODE_ACTIONS.SET_RELATED,
|
||||
});
|
||||
|
||||
export const nodeSetCommentData = (id: number, comment: IComment) => ({
|
||||
export const nodeSetCommentData = (id: number, comment: Partial<IComment>) => ({
|
||||
id,
|
||||
comment,
|
||||
type: NODE_ACTIONS.SET_COMMENT_DATA,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue