Skip to content

Commit cefa943

Browse files
committed
🚨 fix linter errors
1 parent 018b54f commit cefa943

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

src/app/core/guards/folder.guard.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
import { Injectable } from '@angular/core';
2-
import { ActivatedRouteSnapshot, CanActivate, Router, RouterStateSnapshot, UrlTree } from '@angular/router';
2+
import { ActivatedRouteSnapshot, CanActivate, Router, UrlTree } from '@angular/router';
3+
4+
import { Observable, tap } from 'rxjs';
5+
36
import { FolderService } from '@services/folder.service';
7+
48
import { isMongoId } from '@utils/mongo.util';
5-
import { Observable, tap } from 'rxjs';
69

710
@Injectable({
811
providedIn: 'root'

src/app/features/folder/folder.routing.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { NgModule } from "@angular/core";
22
import { RouterModule, Routes } from "@angular/router";
33

4-
import { FolderComponent } from "./folder.component";
54
import { FolderGuard } from "@guards/folder.guard";
65

6+
import { FolderComponent } from "./folder.component";
7+
78
const childRoutes: Routes = [
89
{
910
path: ':folderId',

src/app/features/home/components/components.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
import { CommonModule } from '@angular/common';
22
import { NgModule } from '@angular/core';
3+
import { RouterModule } from '@angular/router';
34

45
import { DropdownsModule } from '@shared/dropdowns/dropdowns.module';
56

67
import { FileComponent } from './file/file.component';
78
import { FolderComponent } from './folder/folder.component';
8-
import { RouterModule } from '@angular/router';
99

1010
@NgModule({
1111
declarations: [

0 commit comments

Comments
 (0)