Skip to content

Commit

Permalink
validate database prop for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
mazameli committed Feb 22, 2019
1 parent 707f88e commit 1599e28
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* eslint "react/prop-types": "warn" */
import React from "react";
import PropTypes from "prop-types";
import { t } from "c-3po";
import { isQueryable } from "metabase/lib/table";
import Icon from "metabase/components/Icon.jsx";

Expand Down Expand Up @@ -42,6 +41,7 @@ const DatabasePane = ({ database, show, ...props }) => (

DatabasePane.propTypes = {
show: PropTypes.func.isRequired,
database: PropTypes.string
};

export default DatabasePane;

0 comments on commit 1599e28

Please sign in to comment.