Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored and astrobot-houston committed Sep 12, 2023
1 parent 6448258 commit 4105491
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/astro/src/runtime/client/hmr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,5 @@ function isStyle(node: Node): node is HTMLStyleElement {
}

function isViteInjectedStyle(node: Node): node is HTMLStyleElement {
return (
isStyle(node) &&
!!node.getAttribute('data-vite-dev-id')
);
return isStyle(node) && !!node.getAttribute('data-vite-dev-id');
}

0 comments on commit 4105491

Please sign in to comment.