Add Sigit ID as a path param #195

Open
m wants to merge 10 commits from issue-171 into staging
Showing only changes of commit 5dc8d53503 - Show all commits

View File

@ -86,11 +86,10 @@ export const SignPage = () => {
* to the metaInNavState
*/
if (usersAppData) {
// Sigit id is a createEventId
const sigitId = params.id
const sigitCreateId = params.id
if (sigitId) {
const sigit = usersAppData.sigits[sigitId]
if (sigitCreateId) {
const sigit = usersAppData.sigits[sigitCreateId]
if (sigit) {
metaInNavState = sigit