Skip to content

Commit

Permalink
remove undefined from types
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdotson committed Jul 5, 2022
1 parent 4c9b734 commit 6f98cc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export type DatabaseObject = {
type SchemaValue = { label: string; value: string };

export interface DatabaseSelectorProps {
db?: DatabaseObject | null | undefined;
db?: DatabaseObject | null;
emptyState?: ReactNode;
formMode?: boolean;
getDbList?: (arg0: any) => {};
Expand Down
2 changes: 1 addition & 1 deletion superset-frontend/src/components/TableSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const TableLabel = styled.span`

interface TableSelectorProps {
clearable?: boolean;
database?: DatabaseObject | null | undefined;
database?: DatabaseObject | null;
emptyState?: ReactNode;
formMode?: boolean;
getDbList?: (arg0: any) => {};
Expand Down

0 comments on commit 6f98cc2

Please sign in to comment.