year hace 3 semanas
padre
commit
568f928d23
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,