fixed ToastContainer css

This commit is contained in:
Amirhossein Mahmoodi
2023-08-01 10:13:12 +03:30
parent 868306a5d5
commit 943d4120ad
5 changed files with 2 additions and 5 deletions

View File

@@ -7,13 +7,14 @@ import NextNProgress from "nextjs-progressbar";
import {useEffect} from "react";
import {ToastContainer} from "react-toastify";
import useDirection from "@/lib/app/hooks/useDirection";
import "react-toastify/dist/ReactToastify.css";
function AppLayout({children, isBot}) {
const {languageIsReady} = useLanguage();
const {setLoadingPage} = useLoading();
const {userChangedLanguage, token, isAuth} = useUser();
const {directionApp} = useDirection();
useEffect(() => {
if (languageIsReady) {
if (token) {

View File

@@ -1,7 +1,6 @@
import LoginComponent from "@/components/login";
import WithoutAuthMiddleware from "@/middlewares/WithoutAuth";
import {parse} from "next-useragent";
import "react-toastify/dist/ReactToastify.css";
export default function Login() {
return (

View File

@@ -1,7 +1,6 @@
import RegisterComponent from "@/components/register";
import WithoutAuthMiddleware from "@/middlewares/WithoutAuth";
import {parse} from "next-useragent";
import "react-toastify/dist/ReactToastify.css";
export default function Register() {
return (

View File

@@ -1,7 +1,6 @@
import NavyComponent from "@/components/register/navy";
import WithoutAuthMiddleware from "@/middlewares/WithoutAuth";
import {parse} from "next-useragent";
import "react-toastify/dist/ReactToastify.css";
export default function Register() {
return (

View File

@@ -1,7 +1,6 @@
import WelfareServicesComponent from "@/components/register/welfare-services";
import WithoutAuthMiddleware from "@/middlewares/WithoutAuth";
import {parse} from "next-useragent";
import "react-toastify/dist/ReactToastify.css";
export default function Register() {
return (