mirror of
https://github.com/usebruno/bruno.git
synced 2025-08-27 19:34:45 +02:00
feat: migration to electron + next complete
This commit is contained in:
20
renderer/components/Sidebar/Collections/index.js
Normal file
20
renderer/components/Sidebar/Collections/index.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import Collection from './Collection';
|
||||
|
||||
const Collections = ({collections, actions, dispatch, activeRequestTabId}) => {
|
||||
return (
|
||||
<div className="mt-4 flex flex-col">
|
||||
{collections && collections.length ? collections.map((c) => {
|
||||
return <Collection
|
||||
collection={c}
|
||||
key={c.id}
|
||||
actions={actions}
|
||||
dispatch={dispatch}
|
||||
activeRequestTabId={activeRequestTabId}
|
||||
/>
|
||||
}) : null}
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Collections;
|
Reference in New Issue
Block a user