diff --git a/src/index.tsx b/src/index.tsx index 6a4a90f..570dad7 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -32,8 +32,6 @@ export default class Flipside { spectrum(el: string, opts: SpectrumProps): void { const element = document.getElementById(el); - // console.log("super: ", Spectrum.defaultProps, opts); - // throw Error(); const props = defaultsWithoutArrays(Spectrum.defaultProps, opts); render(, element); diff --git a/src/spectrum/index.tsx b/src/spectrum/index.tsx index 771410a..3c16532 100644 --- a/src/spectrum/index.tsx +++ b/src/spectrum/index.tsx @@ -81,6 +81,7 @@ class Spectrum extends Component { static defaultProps = { mode: "light", + autoRefresh: true, }; constructor() {