Skip to content

Commit 93eea9e

Browse files
committed
fix(routerDecorator): fix lodash import
Lodash has no default export. Should thus import through "import * as name 'dependency'".
1 parent 51e8c6b commit 93eea9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/app/client/components/auth(auth)/router.decorator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
'use strict';
2-
import _ from 'lodash';
2+
import * as _ from 'lodash';
33

44
export function routerDecorator($rootScope<% if(filters.ngroute) { %>, $location<% } if(filters.uirouter) { %>, $state<% } %>, Auth) {
55
'ngInject';

0 commit comments

Comments
 (0)