Hook up prefetcher settings

Summary: This makes use of the previously set up new settings. The logic is a tiny bit difficult to follow so I wanted to make sure it's not lost in the noise of the previous diff.

Reviewed By: jknoxville

Differential Revision: D18036538

fbshipit-source-id: db3bbce4361862cee479aed70578a4bcbde2c46d
This commit is contained in:
Pascal Hartig
2019-10-22 08:08:26 -07:00
committed by Facebook Github Bot
parent 82a253cf28
commit a77064ad84
2 changed files with 9 additions and 6 deletions

View File

@@ -7,5 +7,7 @@
* @format
*/
export default async function setupPrefetcher() {}
import {Settings} from '../reducers/settings';
export default async function setupPrefetcher(_settings: Settings) {}
export const shouldInstallPrefetcher = () => false;