Skip to content
Snippets Groups Projects
Unverified Commit c218884d authored by Anton Kulyk's avatar Anton Kulyk Committed by GitHub
Browse files

Fix a few console warnings/errors in QB (#22275)

* Remove not used props

* Fix unknown props on a DOM element
parent 0d9bf312
Branches
Tags
No related merge requests found
......@@ -9,9 +9,11 @@ import { shouldForwardNonTransientProp } from "metabase/lib/styling/emotion";
const propTypes = {
to: PropTypes.oneOfType([PropTypes.string, PropTypes.bool]),
activeColor: PropTypes.string,
inactiveColor: PropTypes.string,
};
function RawMaybeLink({ to, ...props }) {
function RawMaybeLink({ to, activeColor, inactiveColor, ...props }) {
return to ? <Link to={to} {...props} /> : <span {...props} />;
}
......
......@@ -230,8 +230,6 @@ AhHocQuestionLeftSide.propTypes = {
isNative: PropTypes.bool,
isObjectDetail: PropTypes.bool,
isSummarized: PropTypes.bool,
onExpandFilters: PropTypes.func.isRequired,
onCollapseFilters: PropTypes.func.isRequired,
};
function AhHocQuestionLeftSide(props) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment