Skip to content

Commit

Permalink
Merge branch 'main' into NOREF-clean-code-monday-24-6-24
Browse files Browse the repository at this point in the history
  • Loading branch information
EliaRitzmann authored Jun 24, 2024
2 parents 7ff283f + f35bc49 commit fd91bb3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/elements/ConfirmButton/ConfirmButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const ConfirmButton: React.FC<ConfirmButtonProps> = ({
icon,
}) => {
const [confirming, setConfirming] = useState(false);
const [disabledCountdown, setDisabledCountdown] = useState(3);
const [disabledCountdown, setDisabledCountdown] = useState(0);

useEffect(() => {
if (disabledCountdown > 0) {
Expand Down

0 comments on commit fd91bb3

Please sign in to comment.