From bc32974a9630050dfba1d74bbe79a97ac428bd47 Mon Sep 17 00:00:00 2001 From: Manuel Penaloza Date: Sun, 1 Jan 2017 20:33:06 +0100 Subject: [PATCH] comment to clarify the usage of "filepicker" works i was wondering why setKey() on the filepicker object worked out, especially as there is no import declaration. made my way through the files until i found the api request in the root index.html file. --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index 7ddafa8..47474f2 100644 --- a/src/index.js +++ b/src/index.js @@ -26,6 +26,7 @@ import { AddContainer } from './components/add'; import '../dist/css/style.css'; // Filestack API requires to set a key +// "filepicker" not imported in this file as available via API request in root index.html filepicker.setKey("YOUR_API_KEY"); const sagaMiddleware = createSagaMiddleware();