1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix type error and wording on ErrorBoundary

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-02-24 08:17:05 -05:00
parent 19df815c33
commit 3e3c05d118

View File

@ -9,7 +9,7 @@ import type { ErrorInfo } from "react";
import React from "react"; import React from "react";
import { observer } from "mobx-react"; import { observer } from "mobx-react";
import { Button } from "../button"; import { Button } from "../button";
import { issuesTrackerUrl, slackUrl } from "../../../common/vars"; import { issuesTrackerUrl, forumsUrl } from "../../../common/vars";
import type { SingleOrMany } from "../../utils"; import type { SingleOrMany } from "../../utils";
import type { ObservableHistory } from "mobx-observable-history"; import type { ObservableHistory } from "mobx-observable-history";
import { withInjectables } from "@ogre-tools/injectable-react"; import { withInjectables } from "@ogre-tools/injectable-react";
@ -53,15 +53,15 @@ class NonInjectedErrorBoundary extends React.Component<ErrorBoundaryProps & Depe
</h5> </h5>
<p> <p>
{"To help us improve the product please report bugs to "} {"To help us improve the product please report bugs on"}
<a <a
href={slackUrl} href={forumsUrl}
rel="noreferrer" rel="noreferrer"
target="_blank" target="_blank"
> >
Slack Lens Forums
</a> </a>
{" community or "} {" or on our"}
<a <a
href={issuesTrackerUrl} href={issuesTrackerUrl}
rel="noreferrer" rel="noreferrer"