Skip to content

Commit e1a35d3

Browse files
committed
Remove redundant async
1 parent fef5dc4 commit e1a35d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-router-dev/vite/rsc/plugins/hmr-invalidate-client-only-modules-in-rsc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type * as Vite from "vite";
33
export function hmrInvalidateClientOnlyModulesInRsc(): Vite.Plugin {
44
return {
55
name: "react-router/rsc/hmr/invalidate-client-only-modules-in-rsc",
6-
async hotUpdate(ctx) {
6+
hotUpdate(ctx) {
77
// We only want to invalidate ancestors of client-only modules in the RSC
88
// graph, so bail out if we're not in the RSC environment
99
if (this.environment.name !== "rsc") {

0 commit comments

Comments
 (0)