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 4792a04 commit f7cb7caCopy full SHA for f7cb7ca
web-app/src/app/screens/Feeds/index.tsx
@@ -292,20 +292,6 @@ export default function Feed(): React.ReactElement {
292
293
const containerRef = React.useRef(null);
294
useEffect(() => {
295
- if (!config.enableGbfsInSearchPage) {
296
- if (!selectedFeedTypes.gtfs_rt && !selectedFeedTypes.gtfs) {
297
- setSelectedFeedTypes({ gtfs: true, gtfs_rt: true });
298
- }
299
- } else {
300
- if (
301
- !selectedFeedTypes.gtfs_rt &&
302
- !selectedFeedTypes.gtfs &&
303
- !selectedFeedTypes.gbfs
304
- ) {
305
- setSelectedFeedTypes({ gtfs: true, gtfs_rt: true, gbfs: true });
306
307
308
-
309
const observer = new IntersectionObserver(
310
([entry]) => {
311
setIsSticky(!entry.isIntersecting);
0 commit comments