Fixing typing issues per PR requests
Signed-off-by: Joshua Jung <joshua.p.jung@gmail.com>
This commit is contained in:
@@ -230,7 +230,7 @@ export const SearchModal = (props: SearchModalProps) => {
|
||||
})) ?? (
|
||||
<Modal
|
||||
toggleModal={toggleModal}
|
||||
resultItemComponents={resultItemComponents || []}
|
||||
resultItemComponents={resultItemComponents}
|
||||
/>
|
||||
)}
|
||||
</SearchContextProvider>
|
||||
|
||||
@@ -19,8 +19,9 @@ import { useSearch } from '@backstage/plugin-search-react';
|
||||
import Tab from '@material-ui/core/Tab';
|
||||
import Tabs from '@material-ui/core/Tabs';
|
||||
import { makeStyles } from '@material-ui/core/styles';
|
||||
import { Theme } from '@material-ui/core/styles';
|
||||
|
||||
const useStyles = makeStyles((theme: any) => ({
|
||||
const useStyles = makeStyles((theme: Theme) => ({
|
||||
tabs: {
|
||||
borderBottom: `1px solid ${theme.palette.textVerySubtle}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user