Skip to content

Commit

Permalink
Don't directly run the /utilities fetch; update prop instead
Browse files Browse the repository at this point in the history
  • Loading branch information
oyamauchi committed Aug 8, 2023
1 parent 2c837e2 commit 2a46dd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/state-calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ export class RewiringAmericaStateCalculator extends LitElement {
error: () => [BLANK_UTILITY],
}) as OptionParam[],
(event: SubmitEvent) => this.submit(event),
() => this._utilityOptionsTask.run(),
(event: InputEvent) =>
(this.zip = (event.target as HTMLInputElement).value),
)}
</div>
${this.hideResult
Expand Down

0 comments on commit 2a46dd5

Please sign in to comment.