added ReactNode to fix pipeline

Signed-off-by: JeevaRamanathan <jeevaramanathan.m@infosys.com>
This commit is contained in:
JeevaRamanathan
2024-05-25 18:42:43 +05:30
parent fa8560edd5
commit 62c80557b6
4 changed files with 8 additions and 8 deletions
@@ -14,7 +14,7 @@
* limitations under the License.
*/
import React from 'react';
import React, { ReactNode } from 'react';
import capitalize from 'lodash/capitalize';
import { Progress } from '@backstage/core-components';
import Box from '@material-ui/core/Box';
@@ -79,7 +79,7 @@ export const TemplateCategoryPicker = () => {
</Typography>
<Autocomplete<string, true>
PopperComponent={popperProps => (
<div {...popperProps}>{popperProps.children}</div>
<div {...popperProps}>{popperProps.children as ReactNode}</div>
)}
multiple
id="categories-picker"