Skip to content
Snippets Groups Projects
Unverified Commit fad4bc8a authored by Alexander Polyankin's avatar Alexander Polyankin Committed by GitHub
Browse files

Remove flow from new query (#19217)

parent 2a5e86fb
No related branches found
No related tags found
No related merge requests found
......@@ -5,13 +5,6 @@ import { Link } from "react-router";
import { color } from "metabase/lib/colors";
export default class NewQueryOption extends Component {
props: {
image: string,
title: string,
description: string,
to: string,
};
state = {
hover: false,
};
......
......@@ -23,15 +23,6 @@ import {
import Database from "metabase/entities/databases";
import type { NestedObjectKey } from "metabase/visualizations/lib/settings/nested";
type Props = {
hasDataAccess: Boolean,
hasNativeWrite: Boolean,
prefetchDatabases: Function,
initialKey?: NestedObjectKey,
};
const mapStateToProps = state => ({
hasDataAccess: getHasDataAccess(state),
hasNativeWrite: getHasNativeWrite(state),
......@@ -47,8 +38,6 @@ const PAGE_PADDING = [1, 4];
@fitViewport
@connect(mapStateToProps, mapDispatchToProps)
export default class NewQueryOptions extends Component {
props: Props;
componentDidMount() {
// We need to check if any databases exist otherwise show an empty state.
// Be aware that the embedded version does not have the Navbar, which also
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment