Skip to content

Commit 69591d9

Browse files
committed
fix typescript error and push to github pages
1 parent 3303469 commit 69591d9

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/build.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,14 @@ jobs:
99
steps:
1010
- name: Checkout code
1111
uses: actions/checkout@v4
12+
1213
- name: build ui
13-
run: cd ui && bun install && bun run build
14+
run: cd ui && bun install && bun run build
15+
16+
- name: Deploy to GitHub Pages
17+
uses: JamesIves/github-pages-deploy-action@v4
18+
permissions:
19+
contents: write
20+
with:
21+
folder: ui/dist # The folder the action should deploy.
22+
branch: pages # The branch the action should deploy to.

ui/src/page/ZustandDemo.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ function ZustandDemo() {
77
const particleCount = ConfettiStore((state: any) => state.particleCount);
88
const shapeSize = ConfettiStore((state: any) => state.shapeSize);
99
const spreadDeg = ConfettiStore((state: any) => state.spreadDeg);
10-
const colors = ConfettiStore((state: any) => state.colors);
1110
const fadeOutHeight = ConfettiStore((state: any) => state.fadeOutHeight);
1211
const setMode = ConfettiStore((state: any) => state.setMode);
1312

0 commit comments

Comments
 (0)