Skip to content

Commit

Permalink
🐛 Bug: HTMX is broken... again... (#279)
Browse files Browse the repository at this point in the history
* Create draft PR for #277
[skip ci]

* update htmx import and update changesets

* Update BaseHead.astro

---------

Co-authored-by: create-issue-branch[bot] <53036503+create-issue-branch[bot]@users.noreply.github.com>
Co-authored-by: Adam Matthiesen <[email protected]>
  • Loading branch information
1 parent 585c5e4 commit 4f8e60b
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [
"fixed": [
[
"studiocms",
"@studiocms/assets",
Expand All @@ -17,6 +16,7 @@
"@studiocms/robotstxt"
]
],
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/tricky-coats-wave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@studiocms/dashboard": patch
---

[Fix]: Move back to HTMX from the CDN
2 changes: 1 addition & 1 deletion biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"files": {
"ignoreUnknown": true,
"ignore": ["**/.astro/**", "**/package.json", "**/scripts/htmx.*"]
"ignore": ["**/.astro/**", "**/package.json"]
},
"formatter": {
"lineWidth": 100
Expand Down
5 changes: 4 additions & 1 deletion packages/studiocms_dashboard/src/components/BaseHead.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ const { title, description } = Astro.props;
---

{/* HTMX - v2.0.2 */}
<script src="../scripts/htmx.2.0.2.min.js"></script>
<script
src="https://unpkg.com/[email protected]"
integrity="sha384-Y7hw+L/jvKeWIRRkqWYfPcvVxHzVzn5REgzbawhxAuQGwX1XWe70vji+VSeHOThJ"
crossorigin="anonymous"></script>

{/* Global Metadata */}
<meta charset="utf-8" />
Expand Down
1 change: 0 additions & 1 deletion packages/studiocms_dashboard/src/scripts/htmx.2.0.2.min.js

This file was deleted.

0 comments on commit 4f8e60b

Please sign in to comment.