We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d814cd8 commit e7508f3Copy full SHA for e7508f3
lib/gtfsplus/selectors/index.js
@@ -3,7 +3,7 @@ import { createSelector } from 'reselect'
3
const getActiveTable = createSelector(
4
[ state => state.gtfsplus.activeTableId, state => state.gtfsplus.tableData ],
5
(tableId, tableData) => {
6
- return tableData[tableId]
+ return tableData && tableData[tableId]
7
}
8
)
9
0 commit comments