Skip to content

Commit

Permalink
Fix cast
Browse files Browse the repository at this point in the history
  • Loading branch information
armanbilge authored Jun 20, 2022
1 parent 41d3faf commit 61e7e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/fetch.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import org.scalajs.dom._
val client = FetchClientBuilder[IO].create

val repoName = document.getElementById("repo").asInstanceOf[HTMLInputElement]
val repoStars = document.getElementById("stars").asInstanceOf[HTMLInputElement]
val repoStars = document.getElementById("stars").asInstanceOf[HTMLElement]

case class Repo(stargazers_count: Int)

Expand Down

0 comments on commit 61e7e04

Please sign in to comment.