Fixed flow errors and small refactor
This commit is contained in:
@ -38,7 +38,7 @@ class CollectionsStore {
|
||||
}
|
||||
};
|
||||
|
||||
getById = (id: string): Collection => {
|
||||
getById = (id: string): ?Collection => {
|
||||
return _.find(this.data, { id });
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user