diff --git a/src/App.tsx b/src/App.tsx index 07fc3c7..98ae4a9 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -40,11 +40,9 @@ class App extends React.Component<{}, IAppState> { render() { return
- + {this.state.passages.map((ligne) => )} - - {this.state.stations.map((station) => )} diff --git a/src/Velov.tsx b/src/Velov.tsx index e3ccabf..81d5c13 100644 --- a/src/Velov.tsx +++ b/src/Velov.tsx @@ -10,7 +10,7 @@ export default class Velov extends React.Component { return - {this.props.info.name.toLowerCase()} + {this.props.info.name.toLowerCase().split(" - ")[1]}