Updated ScrollTop component so that it gets the window object injected as a dependency

This commit is contained in:
Alejandro Celaya
2018-12-21 10:38:35 +01:00
parent 16cf30f26f
commit 047d99be6d
4 changed files with 9 additions and 11 deletions

View File

@@ -29,7 +29,6 @@ const provideServices = (bottle, connect, withRouter) => {
// Services
bottle.constant('csvjson', csvjson);
bottle.constant('window', global.window);
bottle.service('ServersImporter', ServersImporter, 'csvjson');
bottle.service('ServersService', ServersService, 'Storage');
bottle.service('ServersExporter', ServersExporter, 'ServersService', 'window', 'csvjson');