Browse Source

Cast string id prop to number

develop
Apostolos Fanakis 4 years ago
parent
commit
8f5a2e3c0a
  1. 2
      packages/concordia-app/src/views/Topic/index.jsx

2
packages/concordia-app/src/views/Topic/index.jsx

@ -12,7 +12,7 @@ const Topic = () => {
<TopicCreate /> <TopicCreate />
) )
: ( : (
<TopicView topicId={topicId} /> <TopicView topicId={parseInt(topicId, 10)} />
); );
}; };

Loading…
Cancel
Save