do not change gang on homie details click
This commit is contained in:
@@ -79,7 +79,7 @@ const App = (props) => {
|
||||
|
||||
const navbarLogoWithGang = (
|
||||
<div>
|
||||
<a href='/'>GKS</a>
|
||||
<RoutableNavItem href={CRIB}><a href="#">GKS</a></RoutableNavItem>
|
||||
|
||||
<Dropdown
|
||||
id="gang_dropdown"
|
||||
|
||||
@@ -5,6 +5,7 @@ import axios from 'axios';
|
||||
import { MAKE_MONEY_MOVE } from '../RouteNames';
|
||||
import { withRouter } from 'react-router-dom';
|
||||
import { formatMoney, formatTime } from '../common/formatting';
|
||||
import RoutableNavItem from "../common/RoutableNavItem";
|
||||
|
||||
const Cash = (props) => {
|
||||
const [homiesCash, setHomiesCash] = useState([]);
|
||||
@@ -26,7 +27,7 @@ const Cash = (props) => {
|
||||
return (
|
||||
<tr key={homieLine.homie.id}>
|
||||
<td className="cash-cell-left">
|
||||
<a href={`/homie/${homieLine.homie.id}/flow`}>{ homieLine.homie.name }</a>
|
||||
<RoutableNavItem href={`/homie/${homieLine.homie.id}/flow`}><a href="#">{homieLine.homie.name}</a></RoutableNavItem>
|
||||
</td>
|
||||
<td className="cash-cell-left">
|
||||
{ formatTime(homieLine.work) }
|
||||
|
||||
Reference in New Issue
Block a user