Skip to content

Commit

Permalink
refactor: mark size as optional as it has default
Browse files Browse the repository at this point in the history
Without it being optional it throws a warning at runtime.
  • Loading branch information
Sekhmet committed Mar 14, 2024
1 parent 9b03f8b commit 471bd2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/ui/src/components/ProposalVoteBasic.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Choice } from '@/types';
withDefaults(
defineProps<{
sendingType: Choice | null;
size: number;
size?: number;
}>(),
{ size: 48 }
);
Expand Down

0 comments on commit 471bd2e

Please sign in to comment.