Skip to content

Commit

Permalink
Merge pull request #338 from shlinkio/dependabot/npm_and_yarn/types-a…
Browse files Browse the repository at this point in the history
…500efb891

Bump the types group across 1 directory with 2 updates
  • Loading branch information
acelaya authored Jan 1, 2025
2 parents 00754fb + e25e7cf commit 9f4d4f6
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 40 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org).

## [0.7.1] - 2025-01-01
### Added
* Add support for React 19

### Changed
* *Nothing*

### Deprecated
* *Nothing*

### Removed
* *Nothing*

### Fixed
* *Nothing*


## [0.7.0] - 2024-12-05
### Added
* *Nothing*
Expand Down
65 changes: 31 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"peerDependencies": {
"@fortawesome/fontawesome-free": "^6.4.2",
"@fortawesome/free-solid-svg-icons": "^6.4.2",
"@fortawesome/react-fontawesome": "^0.2.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"react": "^18.3 || ^19.0",
"react-dom": "^18.3 || ^19.0",
"react-router": "^7.0.2",
"reactstrap": "^9.2.0"
},
Expand All @@ -43,8 +43,8 @@
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@total-typescript/shoehorn": "^0.1.2",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"@types/react": "^19.0.2",
"@types/react-dom": "^19.0.2",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^2.1.8",
"axe-core": "^4.10.2",
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const useTimeoutToggle = (
): [boolean, () => void] => {
const [flag, setFlag] = useState<boolean>(initialValue);
const initialValueRef = useRef(initialValue);
const timeout = useRef<number>();
const timeout = useRef<number>(undefined);
const callback = useCallback(() => {
setFlag(!initialValueRef.current);

Expand Down

0 comments on commit 9f4d4f6

Please sign in to comment.