Skip to content

Commit 634834b

Browse files
committed
undo more prettier changes
1 parent 39421d6 commit 634834b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

web_src/js/htmx.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as htmx from 'htmx.org';
2-
import { showErrorToast } from './modules/toast.js';
2+
import {showErrorToast} from './modules/toast.js';
33
import 'htmx.org/dist/ext/ws.js';
44

55
// https://github.com/bigskysoftware/idiomorph#htmx
@@ -18,9 +18,7 @@ document.body.addEventListener('htmx:sendError', (e) => {
1818
// https://htmx.org/events/#htmx:responseError
1919
document.body.addEventListener('htmx:responseError', (e) => {
2020
// TODO: add translations
21-
showErrorToast(
22-
`Error ${e.detail.xhr.status} when calling ${e.detail.requestConfig.path}`
23-
);
21+
showErrorToast(`Error ${e.detail.xhr.status} when calling ${e.detail.requestConfig.path}`);
2422
});
2523

2624
let webSocket;

0 commit comments

Comments
 (0)