Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemanrubia committed Dec 5, 2024
1 parent 977cdc3 commit 965aba9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/assets/javascripts/hotwire_spark.js
Original file line number Diff line number Diff line change
Expand Up @@ -3654,16 +3654,16 @@ var HotwireSpark = (function () {
action,
path
} = _ref;
const filePath = nameFromFilePath(path);
const fileName = nameFromFilePath(path);
switch (action) {
case "reload_html":
this.reloadHtml();
break;
case "reload_css":
this.reloadCss(filePath);
this.reloadCss(fileName);
break;
case "reload_stimulus":
this.reloadStimulus(filePath);
this.reloadStimulus(fileName);
break;
}
},
Expand Down

0 comments on commit 965aba9

Please sign in to comment.