소스 검색

feat: 修改

year 3 주 전
부모
커밋
568f928d23
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/stores/useWheelStore.ts

+ 1 - 1
src/stores/useWheelStore.ts

@@ -49,7 +49,7 @@ export const useWheelStore = create<State & Action>()((set, get) => {
                     }));
                     return data;
                 }
-                if (data?.activate?.amount === 0) {
+                if (data?.activate?.can === 0) {
                     set((state) => ({
                         ...state,
                         status: 2,