diff --git a/src/pages/verify/index.tsx b/src/pages/verify/index.tsx index 05e9c8f..2d341c1 100644 --- a/src/pages/verify/index.tsx +++ b/src/pages/verify/index.tsx @@ -183,6 +183,11 @@ export const VerifyPage = () => { const { uploadedZip } = location.state || {} const [selectedFile, setSelectedFile] = useState(null) + /** + * If `userAppData` is present it means user is logged in and we can extract list of `sigits` from the store. + * If ID is present in the URL we search in the `sigits` list + * Otherwise sigit is set from the `location.state.meta` + */ if (usersAppData) { const sigitCreateId = params.id