mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-09 06:55:03 +00:00
feat: reducer and actions for creating a collection
This commit is contained in:
@@ -25,6 +25,10 @@ const Sidebar = ({collections, actions, dispatch, activeRequestTabId}) => {
|
||||
|
||||
const handleConfirm = (values) => {
|
||||
console.log(values);
|
||||
dispatch({
|
||||
name: values.collectionName,
|
||||
type: actions.COLLECTION_CREATE
|
||||
});
|
||||
setModalOpen(false);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user