Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const defaultParams = id => ({
- TableName: TABLE_NAME.USERS,
- Key: { id }
- })
- const updateProjects = (userId, projects) =>
- setNewValue(defaultParams(userId), 'projects', projects)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement