chore: added comment
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 31s

This commit is contained in:
Stixx 2024-11-04 22:04:27 +01:00
parent 22debeb033
commit c89e96b824

View File

@ -183,6 +183,11 @@ export const VerifyPage = () => {
const { uploadedZip } = location.state || {}
const [selectedFile, setSelectedFile] = useState<File | null>(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