Skip to content

Commit

Permalink
fix(deps): update dependency react-toastify to v10 (#793)
Browse files Browse the repository at this point in the history
* fix(deps): update dependency react-toastify to v10

* Update for new version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Derek Roberts <derek.roberts@gmail.com>
  • Loading branch information
renovate[bot] and DerekRoberts authored Jan 24, 2024
1 parent f37cf6d commit f413161
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions frontend/package-lock.json

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

2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"react-hash-string": "^1.0.0",
"react-router-dom": "^6.21.2",
"react-test-renderer": "^18.2.0",
"react-toastify": "^9.1.3",
"react-toastify": "^10.0.0",
"sass": "1.70.0",
"ts-jest": "^29.1.0",
"typescript": "^5.1.3",
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/config/ToastifyConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
* see usage in src/components/ApplicantInformationForm/index.tsx.
*/

import { ToastOptions, toast } from 'react-toastify';
import { ToastOptions } from 'react-toastify';
import { SEVEN_SECONDS } from './TimeUnits';

export const ErrToastOption: ToastOptions = {
position: toast.POSITION.TOP_RIGHT,
position: 'top-right',
icon: false,
closeButton: false,
theme: 'dark',
Expand Down

0 comments on commit f413161

Please sign in to comment.