DisabledTabLink,
Dropdown,
ItemNavLink,
- Link,
NavBarTabLink,
NavBarTabs,
PopupZLevel,
return (
(isProject || isApplication) && (
- <li className="sw-body-md sw-pb-4">
- <Link
- ref={(node: HTMLAnchorElement | null) => (this.projectInfoLink = node)}
- to={{ pathname: '/project/info', search: new URLSearchParams(query).toString() }}
- >
- {label}
- </Link>
- </li>
+ <NavBarTabLink
+ to={{ pathname: '/project/information', search: new URLSearchParams(query).toString() }}
+ text={label}
+ />
)
);
};
import { Route } from 'react-router-dom';
import ProjectInformationApp from './ProjectInformationApp';
-const routes = () => <Route path="project/info" element={<ProjectInformationApp />} />;
+const routes = () => <Route path="project/information" element={<ProjectInformationApp />} />;
export default routes;