Skip to content

Commit 829bc65

Browse files
committed
fix: TT-264 removed the code smell
1 parent 9e70710 commit 829bc65

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/app/modules/customer-management/components/projects/components/project-list/project-list.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ProjectState } from '../store/project.reducer';
66
import { getCustomerProjects } from '../store/project.selectors';
77
import * as actions from '../store/project.actions';
88
import { ProjectUI } from '../../../../../shared/models/project.model';
9-
import { allProjectTypes, ProjectTypeState } from '../../../projects-type/store';
9+
import { ProjectTypeState } from '../../../projects-type/store';
1010
import { ProjectType } from 'src/app/modules/shared/models';
1111

1212
@Component({

src/app/modules/customer-management/store/customer-management.effects.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import { ToastrService } from 'ngx-toastr';
99
import { CustomerService } from '../services/customer.service';
1010
import * as actions from './customer-management.actions';
1111
import { Status } from '../../shared/models/customer.model';
12-
import { UpdateCustomerSuccess } from './customer-management.actions';
1312

1413
@Injectable()
1514
export class CustomerEffects {

src/app/modules/login/services/azure.ad.b2c.service.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ describe('AzureAdB2CService', () => {
174174

175175
it('should get userId from UserAgentApplication', () => {
176176
spyOn(UserAgentApplication.prototype, 'getAccount').and.returnValues(account);
177-
178-
const name = service.getUserId();
177+
service.getUserId();
179178

180179
expect(UserAgentApplication.prototype.getAccount).toHaveBeenCalled();
181180
});

0 commit comments

Comments
 (0)