Skip to content

Commit

Permalink
style: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
demshy committed Jan 31, 2025
1 parent 033814c commit 212ea39
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,12 @@ function mapStateToProps(state, ownProps) {

if (collection.has('nested')) {
const collectionFolder = collection.get('folder');
entries = filterNestedEntries(filterTerm || '', collectionFolder, entries, collection.get('nested').get('subfolders'));
entries = filterNestedEntries(
filterTerm || '',
collectionFolder,
entries,
collection.get('nested').get('subfolders'),
);
}
const entriesLoaded = selectEntriesLoaded(state.entries, collection.get('name'));
const isFetching = selectIsFetching(state.entries, collection.get('name'));
Expand Down
2 changes: 1 addition & 1 deletion packages/decap-cms-core/src/types/redux.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ export type CollectionFile = StaticallyTypedRecord<{

export type CollectionFiles = List<CollectionFile>;

type NestedObject = { depth: number; subfolders?: boolean; };
type NestedObject = { depth: number; subfolders?: boolean };

type Nested = StaticallyTypedRecord<NestedObject>;

Expand Down

0 comments on commit 212ea39

Please # to comment.