From e1a19f117bff028f96256fc3c48f1d690ece173f Mon Sep 17 00:00:00 2001 From: TheoryOfNekomata Date: Sat, 25 Jul 2020 17:48:23 +0800 Subject: [PATCH] Fix extraneous props Remove props from Slider that has something to do with incorrectly setting `orientation` to a `div`-like element. Also, we fix the import in the Icon test. --- lib/components/Icon/Icon.test.tsx | 2 +- lib/components/Slider/Slider.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/components/Icon/Icon.test.tsx b/lib/components/Icon/Icon.test.tsx index 981fc80..8d18042 100644 --- a/lib/components/Icon/Icon.test.tsx +++ b/lib/components/Icon/Icon.test.tsx @@ -2,7 +2,7 @@ import * as fc from 'fast-check' import * as Enzyme from 'enzyme' import * as React from 'react' import * as FeatherIcon from 'react-feather' -import { paramCase } from 'param-case' +import paramCase from 'param-case' import Icon from './Icon' const FEATHER_ICONS = Object.keys(FeatherIcon).map((k) => paramCase(k)) diff --git a/lib/components/Slider/Slider.tsx b/lib/components/Slider/Slider.tsx index eaea7fb..e2bc111 100644 --- a/lib/components/Slider/Slider.tsx +++ b/lib/components/Slider/Slider.tsx @@ -289,7 +289,6 @@ const Slider: React.FC = ({