Fix multiple keys selected bug

This commit is contained in:
Himanshu DIxit 2021-02-22 05:14:59 +05:30
parent cb5713216a
commit 4ec389c449
3 changed files with 4 additions and 8 deletions

View File

@ -138,7 +138,7 @@ const App = () => {
Settings
</NavLink>
</Menu.Item>
<Menu.Item key="5" icon={<ApiOutlined />}>
<Menu.Item key="6" icon={<ApiOutlined />}>
<NavLink to="/add-instrumentation" style={{ fontSize: 12, textDecoration: "none" }}>
Add instrumentation
</NavLink>

View File

@ -15,7 +15,7 @@ const AppWrapper = () => {
<Route path="/traces/:id" component={App} />
<Route path="/usage-explorer" component={App} />
<Route path="/settings" component={App} />
<Route path="/instumentation" component={App} />
<Route path="/add-instrumentation" component={App} />
<Route path="/signup" component={Signup} />
<Route
path="/"

View File

@ -12,14 +12,10 @@ import { useAuthenticationData } from "../../hooks/authentication";
import { TOKEN_DATE } from "../../../../../sass/frontend/src/constants/accessToken";
import { Alert } from "antd";
interface SettingsPageProps {}
interface InstrumentationPageProps {}
const layout = {
labelCol: { span: 3 },
wrapperCol: { span: 6 },
};
const InstrumentationPage = (props: SettingsPageProps) => {
const InstrumentationPage = (props: InstrumentationPageProps) => {
return (