Skip to content

Commit 1dfb84e

Browse files
committed
fix lint
1 parent 2fd6689 commit 1dfb84e

File tree

1 file changed

+1
-5
lines changed
  • src/LiveComponent/assets/src/Component

1 file changed

+1
-5
lines changed

src/LiveComponent/assets/src/Component/index.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -441,11 +441,7 @@ export default class Component {
441441

442442
const liveUrl = backendResponse.getLiveUrl();
443443
if (liveUrl) {
444-
history.replaceState(
445-
history.state,
446-
'',
447-
new URL(liveUrl + window.location.hash, window.location.origin)
448-
);
444+
history.replaceState(history.state, '', new URL(liveUrl + window.location.hash, window.location.origin));
449445
}
450446

451447
this.hooks.triggerHook('render:finished', this);

0 commit comments

Comments
 (0)