chore(react-router-v6): made some more progress on getting the tests passing

This commit is contained in:
blam
2020-06-11 18:35:53 +02:00
parent c1a21d53af
commit 7ecfceac0f
7 changed files with 89 additions and 16 deletions
@@ -33,8 +33,7 @@ import { gitOpsApiRef, Status } from '../../api';
import { transformRunStatus } from '../ProfileCatalog';
const ClusterPage: FC<{}> = () => {
const params = useParams<{ owner: string; repo: string }>();
const params = useParams() as { owner: string; repo: string };
const [loginInfo] = useLocalStorage<{
token: string;
username: string;