diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..117dbd0 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +# To get started with Dependabot version updates, you'll need to specify which +# package ecosystems to update and where the package manifests are located. +# Please see the documentation for all configuration options: +# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file + +version: 2 +updates: + - package-ecosystem: "npm" + directory: "/" + schedule: + interval: "weekly" + allow: + - dependency-type: "direct" + open-pull-requests-limit: 10 + versioning-strategy: increase diff --git a/src/elements/ConfirmButton/ConfirmButton.tsx b/src/elements/ConfirmButton/ConfirmButton.tsx index e8a40df..40200b6 100644 --- a/src/elements/ConfirmButton/ConfirmButton.tsx +++ b/src/elements/ConfirmButton/ConfirmButton.tsx @@ -26,7 +26,7 @@ const ConfirmButton: React.FC = ({ icon, }) => { const [confirming, setConfirming] = useState(false); - const [disabledCountdown, setDisabledCountdown] = useState(3); + const [disabledCountdown, setDisabledCountdown] = useState(0); useEffect(() => { if (disabledCountdown > 0) {