Skip to content

Commit

Permalink
chore: Get demo working correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
cahilfoley committed Jan 25, 2024
1 parent 47f552a commit 7d88fc7
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 11 deletions.
9 changes: 0 additions & 9 deletions packages/demo/src/App.test.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion packages/demo/src/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export interface SnowfallSettings extends SnowfallProps {
setUseImages: (useImages: boolean) => void
}

export const useSettingsStore = create<SnowfallSettings>((set, get) => ({
export const useSettingsStore = create<SnowfallSettings>((set) => ({
color: '#dee4fd',
snowflakeCount: 200,
radius: [0.5, 3.0],
Expand Down
2 changes: 1 addition & 1 deletion packages/demo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"noFallthroughCasesInSwitch": true
},
"include": ["src"],
"references": [{ "path": "./tsconfig.node.json" }, { "path": "../react-snowfall" }]
"references": [{ "path": "./tsconfig.node.json" }]
}

0 comments on commit 7d88fc7

Please sign in to comment.