Skip to content

Commit

Permalink
"fixed" typescript errors
Browse files Browse the repository at this point in the history
  • Loading branch information
coolGi69 committed Mar 31, 2024
1 parent 47d5bbd commit d629efd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/pages/people.astro
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import Layout from '../layouts/BaseLayout.astro';
fetch("https://api.github.com/orgs/CRModders/members")
.then(response => response.json())
.then(data => {
let people = document.getElementById("people");
let people = !document.getElementById("people");
data.forEach(person => {
let personDiv = document.createElement("div");
personDiv.className = "person";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/repositories.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import Layout from "../layouts/BaseLayout.astro";

</div>

<script>
<script type="text/javascript">
fetch("https://api.github.com/orgs/CRModders/repos")
.then(response => response.json())
.then(data => {
Expand Down

0 comments on commit d629efd

Please sign in to comment.