Skip to content

Commit ba80aa0

Browse files
committed
address copilot findings
1 parent 66c59c5 commit ba80aa0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

integrations/vaultrice-voting/src/vote-block.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export const VoteBlock = createComponent({
170170
<divider size="small" />
171171

172172
<text style="bold">Voting Class</text>
173-
<textinput state="votingClass" placeholder="Voting classs" />
173+
<textinput state="votingClass" placeholder="Voting class" />
174174

175175
<divider size="small" />
176176

integrations/vaultrice-voting/src/widget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ function createVotingRoot(container: HTMLElement, initialState: any) {
2020
credentials: state.credentials,
2121
choicesInstanceOptions: {
2222
class: state.votingClass || '_undefined_',
23-
ttl: state.tll || 60 * 60 * 1000, // 1 hour in ms
23+
ttl: state.ttl || 60 * 60 * 1000, // 1 hour in ms
2424
},
2525
};
2626
try {

0 commit comments

Comments
 (0)