From 3d6037a56ab57dfbcaf851970e57a491a7637de5 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 14 Nov 2021 10:44:30 +0100 Subject: [PATCH] Improve display --- src/App.tsx | 4 +--- src/Velov.tsx | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) 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]}