Remove some uses of FC

This commit is contained in:
Tim Jacomb
2020-07-31 16:25:40 +01:00
committed by Fredrik Adelöw
parent 0e9b562223
commit 65d3e99840
2 changed files with 3 additions and 3 deletions
@@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React, { FC } from 'react';
import React from 'react';
import { ContentHeader, SupportButton } from '@backstage/core';
import { Box, Typography } from '@material-ui/core';
export type Props = { title?: string };
export const PluginHeader: FC<Props> = ({ title = 'Jenkins' }) => {
export const PluginHeader = ({ title = 'Jenkins' }) => {
return (
<ContentHeader
title={title}
@@ -99,7 +99,7 @@ const Page = () => (
</Layout>
);
const BuildWithStepsView: FC<{}> = () => {
const BuildWithStepsView = () => {
const [searchParams] = useSearchParams();
const buildPath = searchParams.get('url') || '';
const classes = useStyles();