chore: added comment
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 31s
All checks were successful
Open PR on Staging / audit_and_check (pull_request) Successful in 31s
This commit is contained in:
parent
22debeb033
commit
c89e96b824
@ -183,6 +183,11 @@ export const VerifyPage = () => {
|
|||||||
const { uploadedZip } = location.state || {}
|
const { uploadedZip } = location.state || {}
|
||||||
const [selectedFile, setSelectedFile] = useState<File | null>(null)
|
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) {
|
if (usersAppData) {
|
||||||
const sigitCreateId = params.id
|
const sigitCreateId = params.id
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user