From ed1436cba352eb174f2f8745de73996c9472eca5 Mon Sep 17 00:00:00 2001 From: Juan Carlos Farah Date: Mon, 27 May 2019 13:46:55 +0200 Subject: [PATCH] fix: do not cast id to number closes #59 --- src/components/space/SpaceGrid.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/space/SpaceGrid.js b/src/components/space/SpaceGrid.js index b06fcaec..489152e3 100644 --- a/src/components/space/SpaceGrid.js +++ b/src/components/space/SpaceGrid.js @@ -88,7 +88,7 @@ class SpaceGrid extends Component { variant="contained" size="large" color="primary" - id={Number(id)} + id={id} onClick={() => replace(`/space/${id}`)} fullWidth >