Reactjs – Is there a way to solve the combination between routes that affect each other?
I have Global file which holds the following routes: global.tsx import React from "react"; import { BrowserRouter as Router, Route, Routes } from "react-router-dom"; import LoginPage from "../../pages/Authentication/Login"; import SignupPage from "../../pages/Authentication/Signup"; const Global = () => { return (…