mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
use link component instead of <a href>
This commit is contained in:
@@ -3,7 +3,7 @@ import React from 'react';
|
|||||||
import { connect } from 'react-redux';
|
import { connect } from 'react-redux';
|
||||||
|
|
||||||
import { fetchRepositoriesIfNeeded } from '../modules/repositories';
|
import { fetchRepositoriesIfNeeded } from '../modules/repositories';
|
||||||
import Login from '../../containers/Login';
|
import { Link } from 'react-router-dom'
|
||||||
|
|
||||||
|
|
||||||
type Props = {
|
type Props = {
|
||||||
@@ -27,9 +27,7 @@ class Repositories extends React.Component<Props> {
|
|||||||
<div>
|
<div>
|
||||||
<h1>SCM</h1>
|
<h1>SCM</h1>
|
||||||
<h2>Startpage</h2>
|
<h2>Startpage</h2>
|
||||||
<a href={"/users" }>
|
<Link to='/users'>Users hier!</Link>
|
||||||
Users hier!
|
|
||||||
</a>
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user