Skip to content

Commit a93ce43

Browse files
committed
fix: lint issues
1 parent f401df3 commit a93ce43

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

src/library-authoring/collections/LibraryCollections.tsx

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,23 +41,25 @@ const LibraryCollections = ({ variant }: LibraryCollectionsProps) => {
4141
);
4242

4343
if (totalCollectionHits === 0) {
44-
return isFiltered ?
45-
<NoSearchResults infoText={messages.noSearchResultsCollections} />
46-
: <NoComponents
47-
infoText={messages.noCollections}
48-
addBtnText={messages.addCollection}
49-
handleBtnClick={openCreateCollectionModal}
50-
/>;
44+
return isFiltered
45+
? <NoSearchResults infoText={messages.noSearchResultsCollections} />
46+
: (
47+
<NoComponents
48+
infoText={messages.noCollections}
49+
addBtnText={messages.addCollection}
50+
handleBtnClick={openCreateCollectionModal}
51+
/>
52+
);
5153
}
5254

5355
return (
5456
<div className="library-cards-grid">
55-
{ collectionList.map((collectionHit) => (
57+
{collectionList.map((collectionHit) => (
5658
<CollectionCard
5759
key={collectionHit.id}
5860
collectionHit={collectionHit}
5961
/>
60-
)) }
62+
))}
6163
</div>
6264
);
6365
};

0 commit comments

Comments
 (0)