mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 15:05:44 +01:00
remove function because otherwise component is mounted three times instead of one
This commit is contained in:
@@ -35,12 +35,15 @@ class Config extends React.Component<Props> {
|
|||||||
<Page>
|
<Page>
|
||||||
<div className="columns">
|
<div className="columns">
|
||||||
<div className="column is-three-quarters">
|
<div className="column is-three-quarters">
|
||||||
<Route path={url} exact component={() => <GlobalConfig />} />
|
<Route path={url} exact component={GlobalConfig} />
|
||||||
</div>
|
</div>
|
||||||
<div className="column">
|
<div className="column">
|
||||||
<Navigation>
|
<Navigation>
|
||||||
<Section label={t("config.navigation-title")}>
|
<Section label={t("config.navigation-title")}>
|
||||||
<NavLink to={`${url}`} label={t("global-config.navigation-label")} />
|
<NavLink
|
||||||
|
to={`${url}`}
|
||||||
|
label={t("global-config.navigation-label")}
|
||||||
|
/>
|
||||||
</Section>
|
</Section>
|
||||||
</Navigation>
|
</Navigation>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user