fix: type errors

This commit is contained in:
DomWane 2024-09-20 08:58:14 +02:00
parent 74d8154843
commit 43cb8f5117
2 changed files with 3 additions and 3 deletions

View file

@ -81,7 +81,7 @@ defineExpose({
<ProjectCreateComponentsSelectChips
v-model="signRequirements"
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"
hint="What do you need to provide to use your project?"
/>

View file

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