mirror of
https://github.com/outline/outline.git
synced 2026-12-05 18:55:10 +03:00
Replace ReactComponentProps with state style
This commit is contained in:
1 parent
1bf2a2a37e
commit
70f334f160
1 file changed
+2
-12
@@ -3,13 +3,7 @@ import { observer } from "mobx-react";
|
||||
import queryString from "query-string";
|
||||
import * as React from "react";
|
||||
import { Trans, useTranslation } from "react-i18next";
|
||||
import {
|
||||
RouteComponentProps,
|
||||
StaticContext,
|
||||
useLocation,
|
||||
useParams,
|
||||
withRouter,
|
||||
} from "react-router";
|
||||
import { useHistory, useLocation, useParams } from "react-router";
|
||||
import { Waypoint } from "react-waypoint";
|
||||
import styled from "styled-components";
|
||||
import breakpoint from "styled-components-breakpoint";
|
||||
@@ -36,11 +30,7 @@ import SearchInput from "./components/SearchInput";
|
||||
import StatusFilter from "./components/StatusFilter";
|
||||
import UserFilter from "./components/UserFilter";
|
||||
|
||||
type Props = RouteComponentProps<
|
||||
{ term: string },
|
||||
StaticContext,
|
||||
{ search: string; fromMenu?: boolean }
|
||||
> & {
|
||||
type Props = {
|
||||
notFound?: boolean;
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user