Skip to content

Commit

Permalink
fix: guards are deprecated in favor of functional guards
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-rocket committed Oct 17, 2024
1 parent d7633ce commit a7d17af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Injectable } from '@angular/core';
import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot } from '@angular/router';
import { ActivatedRouteSnapshot } from '@angular/router';

@Injectable({
providedIn: 'root'
})
export class ExternalRedirectGuard implements CanActivate {
export class ExternalRedirectGuard {
/**
* Checks if navigation can proceed.
*
Expand Down

0 comments on commit a7d17af

Please sign in to comment.