Update react-hot-toast version

This commit is contained in:
Serkan Reis 2022-12-13 22:21:05 +03:00
parent 8993b1b9c0
commit 35309e220a
3 changed files with 3 additions and 16 deletions

View File

@ -39,8 +39,7 @@
"react-datetime-picker": "^3",
"react-dom": "^18",
"react-hook-form": "^7",
"react-hot-toast": "2.4.0",
"react-toastify": "9.1.1",
"react-hot-toast": "^2",
"react-icons": "^4",
"react-popper": "^2",
"react-query": "^3",

View File

@ -1,5 +1,5 @@
import type { Renderable } from 'react-hot-toast'
import { toast } from 'react-hot-toast'
import type { Renderable } from 'react-hot-toast/dist/core/types'
export async function copy(text: string, message: Renderable = 'Copied to clipboard!') {
try {

View File

@ -3704,11 +3704,6 @@ clsx@^1:
resolved "https://registry.npmjs.org/clsx/-/clsx-1.1.1.tgz"
integrity sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA==
clsx@^1.1.1:
version "1.2.1"
resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12"
integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg==
color-convert@^1.9.0:
version "1.9.3"
resolved "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz"
@ -6811,7 +6806,7 @@ react-hook-form@^7:
resolved "https://registry.npmjs.org/react-hook-form/-/react-hook-form-7.30.0.tgz"
integrity sha512-DzjiM6o2vtDGNMB9I4yCqW8J21P314SboNG1O0obROkbg7KVS0I7bMtwSdKyapnCPjHgnxc3L7E5PEdISeEUcQ==
react-hot-toast@2.4.0:
react-hot-toast@^2:
version "2.4.0"
resolved "https://registry.yarnpkg.com/react-hot-toast/-/react-hot-toast-2.4.0.tgz#b91e7a4c1b6e3068fc599d3d83b4fb48668ae51d"
integrity sha512-qnnVbXropKuwUpriVVosgo8QrB+IaPJCpL8oBI6Ov84uvHZ5QQcTp2qg6ku2wNfgJl6rlQXJIQU5q+5lmPOutA==
@ -6867,13 +6862,6 @@ react-time-picker@^4.5.0:
react-fit "^1.4.0"
update-input-width "^1.2.2"
react-toastify@9.1.1:
version "9.1.1"
resolved "https://registry.yarnpkg.com/react-toastify/-/react-toastify-9.1.1.tgz#9280caea4a13dc1739c350d90660a630807bf10b"
integrity sha512-pkFCla1z3ve045qvjEmn2xOJOy4ZciwRXm1oMPULVkELi5aJdHCN/FHnuqXq8IwGDLB7PPk2/J6uP9D8ejuiRw==
dependencies:
clsx "^1.1.1"
react-tracked@^1:
version "1.7.9"
resolved "https://registry.npmjs.org/react-tracked/-/react-tracked-1.7.9.tgz"