Skip to content

Commit 6d5afae

Browse files
committed
fix: patch up build
1 parent 769881e commit 6d5afae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/community/releases.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ You can find the latest stable release of Leaf on our [GitHub page](https://gith
3939
```markdown:no-line-numbers
4040
```
4141

42-
<script>
43-
if (typeof fetch !== "undefined") {
42+
<script setup>
43+
if (typeof window !== "undefined") {
4444
fetch("https://api.github.com/repos/leafsphp/leaf/releases/latest")
4545
.then(res => res.json())
4646
.then(data => {

0 commit comments

Comments
 (0)