  "dark:bg-gray-900",
          "dark:text-gray-300",
          "opacity-50",
          "cursor-not-allowed"
        );
        btn.removeAttribute("disabled");

        if (state === 1) {
          btn.classList.add("bg-slate-600", "text-white");
        } else if (state === 0) {
          btn.classList.add(
            "bg-gray-50",
            "text-gray-700",
            "dark:bg-gray-900",
            "dark:text-gray-300"
          );
        } else {
          btn.classList.add(
            "bg-gray-3