From 5dc8d53503e72bd92a04f4034b6be68929cbc4f5 Mon Sep 17 00:00:00 2001 From: Stixx Date: Wed, 11 Sep 2024 12:33:40 +0200 Subject: [PATCH] chore: sigitCreateId naming --- src/pages/sign/index.tsx | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/sign/index.tsx b/src/pages/sign/index.tsx index 74194de..47fa7a7 100644 --- a/src/pages/sign/index.tsx +++ b/src/pages/sign/index.tsx @@ -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