Merge pull request #27 from web3privacy/dw/fixes

fix: type errors
This commit is contained in:
Dominik Wane 2024-09-20 00:04:01 -07:00 committed by GitHub
commit 370adcbf09
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ defineExpose({
<ProjectCreateComponentsSelectChips <ProjectCreateComponentsSelectChips
v-model="signRequirements" v-model="signRequirements"
label="Sign-in requirements" label="Sign-in requirements"
:options="signInRequirmentsData.map(s => ({ label: s.name, value: s.id }))" :options="signInRequirmentsData?.map(s => ({ label: s.name, value: s.id }))"
placeholder="Add requirement" placeholder="Add requirement"
hint="What do you need to provide to use your project?" hint="What do you need to provide to use your project?"
/> />

View file

@ -47,7 +47,7 @@ defineExpose({
/> />
<ProjectCreateComponentsRadio <ProjectCreateComponentsRadio
v-model="version" v-model="version"
:options="projectPhaseData.map(p => ({ label: p.name, value: p.id }))" :options="projectPhaseData?.map(p => ({ label: p.name, value: p.id }))"
/> />
<ProjectCreateComponentsCategoryDivider <ProjectCreateComponentsCategoryDivider
w-full w-full
@ -71,7 +71,7 @@ defineExpose({
</div> </div>
<ProjectCreateComponentsSelect <ProjectCreateComponentsSelect
v-model="assetType" v-model="assetType"
:options="assetCustodyData.map(c => ({ label: c.name, value: c.id }))" :options="assetCustodyData?.map(c => ({ label: c.name, value: c.id }))"
label="Asset custody type" label="Asset custody type"
placeholder="Select custody type" placeholder="Select custody type"
hint="How are users fund handled? (non-custody, multisig, pool,...)" hint="How are users fund handled? (non-custody, multisig, pool,...)"