Skip to content

Commit

Permalink
Move required args to the top
Browse files Browse the repository at this point in the history
Signed-off-by: Huy Nguyen <73027756+huyaboo@users.noreply.github.com>
  • Loading branch information
huyaboo committed May 8, 2024
1 parent 796c8e6 commit d8678b5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ interface DataSourceSelectableProps {
interface DataSourceSelectableState extends DataSourceBaseState {
dataSourceOptions: DataSourceOption[];
isPopoverOpen: boolean;
selectedOption?: DataSourceOption[];
defaultDataSource: string | null;
incompatibleDataSourcesExist: boolean;
selectedOption?: DataSourceOption[];
}

export class DataSourceSelectable extends React.Component<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import {
} from '../constants';

interface DataSourceDropDownHeaderProps {
application?: ApplicationStart;
incompatibleDataSourcesExist: boolean;
application?: ApplicationStart;
}

export const NoDataSource: React.FC<DataSourceDropDownHeaderProps> = ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ export async function setFirstDataSourceAsDefault(
export interface HandleNoAvailableDataSourceErrorProps {
changeState: () => void;
notifications: ToastsStart;
incompatibleDataSourcesExist: boolean;
application?: ApplicationStart;
callback?: (ds: DataSourceOption[]) => void;
incompatibleDataSourcesExist: boolean;
}

export function handleNoAvailableDataSourceError(props: HandleNoAvailableDataSourceErrorProps) {
Expand Down

0 comments on commit d8678b5

Please sign in to comment.