Refactor getIcon so that it's easier to reuse
[arvados-workbench2.git] / src / index.tsx
index 1b7a281d6a81798f4f807ca37a643d332ea74ff0..1561c3ff1d4b6a1b2af0edc968df003def00c84d 100644 (file)
@@ -109,7 +109,7 @@ fetchConfig()
         store.dispatch(loadVocabulary);
         store.dispatch(loadFileViewersConfig);
 
-        const TokenComponent = (props: any) => <ApiToken authService={services.authService} {...props} />;
+        const TokenComponent = (props: any) => <ApiToken authService={services.authService} config={config} {...props} />;
         const MainPanelComponent = (props: any) => <MainPanel {...props} />;
 
         const App = () =>