From 664f34a3a2b17249b34367d3409d08546335be0f Mon Sep 17 00:00:00 2001 From: Rohan Chaturvedi Date: Mon, 23 Oct 2023 14:47:04 +0530 Subject: [PATCH] fix: react toastify css import (#92) --- frontend/app/layout.tsx | 2 +- frontend/package.json | 4 ++-- frontend/yarn.lock | 14 ++++++++------ 3 files changed, 11 insertions(+), 9 deletions(-) diff --git a/frontend/app/layout.tsx b/frontend/app/layout.tsx index c8301948..2ecbad17 100644 --- a/frontend/app/layout.tsx +++ b/frontend/app/layout.tsx @@ -4,7 +4,7 @@ import '@/app/globals.css' import Providers from './providers' import { Inter } from '@next/font/google' import { ToastContainer } from 'react-toastify' -import 'react-toastify/scss/main.scss' +import 'react-toastify/dist/ReactToastify.min.css' import '@/utils/logoAnimation.css' const inter = Inter({ diff --git a/frontend/package.json b/frontend/package.json index b17331af..27c1b0bc 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -37,9 +37,9 @@ "react": "18.2.0", "react-dom": "18.2.0", "react-icons": "^4.8.0", - "react-toastify": "^9.1.1", + "react-toastify": "^9.1.3", "reaviz": "^14.4.2", - "sass": "^1.59.3", + "sass": "^1.69.4", "typescript": "4.9.5", "zxcvbn": "^4.4.2" }, diff --git a/frontend/yarn.lock b/frontend/yarn.lock index bcab2a37..c563a540 100644 --- a/frontend/yarn.lock +++ b/frontend/yarn.lock @@ -5930,9 +5930,10 @@ react-is@^16.13.1, react-is@^16.7.0: version "16.13.1" resolved "https://registry.npmjs.org/react-is/-/react-is-16.13.1.tgz" -react-toastify@^9.1.1: - version "9.1.2" - resolved "https://registry.npmjs.org/react-toastify/-/react-toastify-9.1.2.tgz" +react-toastify@^9.1.3: + version "9.1.3" + resolved "https://registry.yarnpkg.com/react-toastify/-/react-toastify-9.1.3.tgz#1e798d260d606f50e0fab5ee31daaae1d628c5ff" + integrity sha512-fPfb8ghtn/XMxw3LkxQBk3IyagNpF/LIKjOBflbexr2AWxAH1MJgvnESwEwBn9liLFXgTKWgBSdZpw9m4OTHTg== dependencies: clsx "^1.1.1" @@ -6204,9 +6205,10 @@ safe-regex-test@^1.0.0: version "2.1.2" resolved "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz" -sass@^1.59.3: - version "1.62.0" - resolved "https://registry.npmjs.org/sass/-/sass-1.62.0.tgz" +sass@^1.69.4: + version "1.69.4" + resolved "https://registry.yarnpkg.com/sass/-/sass-1.69.4.tgz#10c735f55e3ea0b7742c6efa940bce30e07fbca2" + integrity sha512-+qEreVhqAy8o++aQfCJwp0sklr2xyEzkm9Pp/Igu9wNPoe7EZEQ8X/MBvvXggI2ql607cxKg/RKOwDj6pp2XDA== dependencies: chokidar ">=3.0.0 <4.0.0" immutable "^4.0.0"