Skip to content

Commit

Permalink
Merge branch 'master' into rename-develop-to-master
Browse files Browse the repository at this point in the history
  • Loading branch information
wa0x6e authored Sep 24, 2023
2 parents 75fd82d + bec75b4 commit 8aca6a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/SpaceProposalVote.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import voting from '@snapshot-labs/snapshot.js/src/voting';
const props = defineProps<{
proposal: Proposal;
modelValue: Choice;
modelValue: Choice | null;
}>();
const emit = defineEmits(['update:modelValue', 'clickVote']);
Expand All @@ -19,7 +19,7 @@ const selectedChoices = computed(() => {
if (typeof props.modelValue === 'object' && props.modelValue !== null)
return Object.keys(props.modelValue).length;
return props.modelValue;
});
}) as ComputedRef<number>;
const validatedUserChoice = computed(() => {
if (!userVote.value?.choice) return null;
Expand Down

0 comments on commit 8aca6a6

Please sign in to comment.