diff --git a/workspaces/splunk/.changeset/forty-ties-fix.md b/workspaces/splunk/.changeset/forty-ties-fix.md new file mode 100644 index 0000000000..46b9d3e31c --- /dev/null +++ b/workspaces/splunk/.changeset/forty-ties-fix.md @@ -0,0 +1,5 @@ +--- +'@backstage-community/plugin-splunk-on-call': patch +--- + +Replaces global JSX with React.JSX diff --git a/workspaces/splunk/bcp.json b/workspaces/splunk/bcp.json index 9d2158e4fb..e1b8e25f0c 100644 --- a/workspaces/splunk/bcp.json +++ b/workspaces/splunk/bcp.json @@ -1,4 +1,5 @@ { "autoVersionBump": true, - "knipReports": false + "knipReports": false, + "listDeprecations": true } diff --git a/workspaces/splunk/plugins/splunk-on-call/report.api.md b/workspaces/splunk/plugins/splunk-on-call/report.api.md index 450fdac7ed..6a5bdb9be9 100644 --- a/workspaces/splunk/plugins/splunk-on-call/report.api.md +++ b/workspaces/splunk/plugins/splunk-on-call/report.api.md @@ -11,6 +11,7 @@ import { ConfigApi } from '@backstage/core-plugin-api'; import { DiscoveryApi } from '@backstage/core-plugin-api'; import { Entity } from '@backstage/catalog-model'; import { JSX as JSX_2 } from 'react/jsx-runtime'; +import { JSX as JSX_3 } from 'react'; import { RouteRef } from '@backstage/core-plugin-api'; // @public (undocumented) @@ -220,7 +221,7 @@ export class SplunkOnCallClient implements SplunkOnCallApi { // @public (undocumented) export const SplunkOnCallPage: { - (props: SplunkOnCallPageProps): JSX.Element; + (props: SplunkOnCallPageProps): JSX_3.Element; defaultProps: { title: string; subtitle: string; diff --git a/workspaces/splunk/plugins/splunk-on-call/src/components/SplunkOnCallPage.tsx b/workspaces/splunk/plugins/splunk-on-call/src/components/SplunkOnCallPage.tsx index bf8b5c9738..39c60f3d02 100644 --- a/workspaces/splunk/plugins/splunk-on-call/src/components/SplunkOnCallPage.tsx +++ b/workspaces/splunk/plugins/splunk-on-call/src/components/SplunkOnCallPage.tsx @@ -14,6 +14,7 @@ * limitations under the License. */ +import { JSX } from 'react'; import Grid from '@material-ui/core/Grid'; import { makeStyles } from '@material-ui/core/styles'; import { EntitySplunkOnCallCard } from './EntitySplunkOnCallCard';