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,