Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Compiled with problems: times ERROR in . / src / App . js 1 8 : 4 2 - 4 8 export 'Switch' (
Compiled with problems:
times
ERROR in srcAppjs :
export 'Switch' imported as 'Switch' was not found in 'reactrouterdom' possible exports: AbortedDeferredError, Await, BrowserRouter, Form, HashRouter, Link, MemoryRouter, NavLink, Navigate, NavigationType, Outlet, Route, Router, RouterProvider, Routes, ScrollRestoration, UNSAFEDataRouterContext, UNSAFEDataRouterStateContext, UNSAFEErrorResponseImpl, UNSAFEFetchersContext, UNSAFELocationContext, UNSAFENavigationContext, UNSAFERouteContext, UNSAFEViewTransitionContext, UNSAFEuseRouteId, UNSAFEuseScrollRestoration, createBrowserRouter, createHashRouter, createMemoryRouter, createPath, createRoutesFromChildren, createRoutesFromElements, createSearchParams, defer, generatePath, isRouteErrorResponse, json, matchPath, matchRoutes, parsePath, redirect, redirectDocument, renderMatches, resolvePath, unstableHistoryRouter, unstableusePrompt, unstableuseViewTransitionState, useActionData, useAsyncError, useAsyncValue, useBeforeUnload, useBlocker, useFetcher, useFetchers, useFormAction, useHref, useInRouterContext, useLinkClickHandler, useLoaderData, useLocation, useMatch, useMatches, useNavigate, useNavigation, useNavigationType, useOutlet, useOutletContext, useParams, useResolvedPath, useRevalidator, useRouteError, useRouteLoaderData, useRoutes, useSearchParams, useSubmit
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started