mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-22 12:21:13 +00:00
fix: Remove unnecessary type
This commit is contained in:
parent
7d16b8b292
commit
5299fc368c
1 changed files with 1 additions and 5 deletions
|
@ -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<any, AnonymousGuardState> {
|
|||
hasRedirected: false,
|
||||
} as AnonymousGuardState;
|
||||
|
||||
constructor(
|
||||
props: RouteComponentProps<Record<string, string>>,
|
||||
context: any,
|
||||
) {
|
||||
constructor(props: any, context: any) {
|
||||
super(props, context);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue