Add Sigit ID as a path param #195

Merged
b merged 12 commits from issue-171 into staging 2024-10-07 09:16:30 +00:00
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