diff --git a/packages/demo/src/App.test.tsx b/packages/demo/src/App.test.tsx deleted file mode 100644 index 6c0b1c7..0000000 --- a/packages/demo/src/App.test.tsx +++ /dev/null @@ -1,9 +0,0 @@ -import React from 'react' -import ReactDOM from 'react-dom' -import App from './App' - -it('renders without crashing', () => { - const div = document.createElement('div') - ReactDOM.render(, div) - ReactDOM.unmountComponentAtNode(div) -}) diff --git a/packages/demo/src/settings.tsx b/packages/demo/src/settings.tsx index 8cb9231..aef244d 100644 --- a/packages/demo/src/settings.tsx +++ b/packages/demo/src/settings.tsx @@ -7,7 +7,7 @@ export interface SnowfallSettings extends SnowfallProps { setUseImages: (useImages: boolean) => void } -export const useSettingsStore = create((set, get) => ({ +export const useSettingsStore = create((set) => ({ color: '#dee4fd', snowflakeCount: 200, radius: [0.5, 3.0], diff --git a/packages/demo/tsconfig.json b/packages/demo/tsconfig.json index b9ca4b1..a7fc6fb 100644 --- a/packages/demo/tsconfig.json +++ b/packages/demo/tsconfig.json @@ -21,5 +21,5 @@ "noFallthroughCasesInSwitch": true }, "include": ["src"], - "references": [{ "path": "./tsconfig.node.json" }, { "path": "../react-snowfall" }] + "references": [{ "path": "./tsconfig.node.json" }] }