fixed ToastContainer css
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user