From 5299fc368c53a5195ab42fe713582aeb33fd615a Mon Sep 17 00:00:00 2001 From: SleeplessOne1917 Date: Thu, 5 Oct 2023 00:43:27 -0400 Subject: [PATCH] fix: Remove unnecessary type --- src/shared/components/common/anonymous-guard.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/shared/components/common/anonymous-guard.tsx b/src/shared/components/common/anonymous-guard.tsx index 0aaf6f7a..70a1f7aa 100644 --- a/src/shared/components/common/anonymous-guard.tsx +++ b/src/shared/components/common/anonymous-guard.tsx @@ -1,5 +1,4 @@ import { Component } from "inferno"; -import { RouteComponentProps } from "inferno-router/dist/Route"; import { UserService } from "../../services"; import { Spinner } from "./icon"; @@ -12,10 +11,7 @@ class AnonymousGuard extends Component { hasRedirected: false, } as AnonymousGuardState; - constructor( - props: RouteComponentProps>, - context: any, - ) { + constructor(props: any, context: any) { super(props, context); }