Component import still appears in RS Component JSX after deleted


#1

Hi

I have placed components " type = Option" and “Select” in a component – then removed it.
But it still appears in the JSX code thereby throwing a “not used” error in server compile.

06

How do I remove this code
" .src/PackageTypeComp.js Line 10 & 11 "

Thanks
Steve


#2

At least Date Picker is adding those Select and Option imports to the component. You could send us your React Studio project where the problem occurs if possible and if it doesn’t seem to sort out. Thanks!


#3

Ah, Date picker seems to write those imports even though it doesn’t use them. That’ll be fixed in the next update.


#4

Many Thanks
Appreciate
Steve