mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-25 13:51: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 { Component } from "inferno";
|
||||||
import { RouteComponentProps } from "inferno-router/dist/Route";
|
|
||||||
import { UserService } from "../../services";
|
import { UserService } from "../../services";
|
||||||
import { Spinner } from "./icon";
|
import { Spinner } from "./icon";
|
||||||
|
|
||||||
|
@ -12,10 +11,7 @@ class AnonymousGuard extends Component<any, AnonymousGuardState> {
|
||||||
hasRedirected: false,
|
hasRedirected: false,
|
||||||
} as AnonymousGuardState;
|
} as AnonymousGuardState;
|
||||||
|
|
||||||
constructor(
|
constructor(props: any, context: any) {
|
||||||
props: RouteComponentProps<Record<string, string>>,
|
|
||||||
context: any,
|
|
||||||
) {
|
|
||||||
super(props, context);
|
super(props, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue