Skip to content

Commit c919b1d

Browse files
Update import paths in server.rsc.ts to include file extensions for improved clarity and consistency.
1 parent 33cc3d3 commit c919b1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

node_package/src/registerServerComponent/server.rsc.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import ReactOnRails from '../ReactOnRails.client';
2-
import { ReactComponent, RenderFunction } from '../types';
1+
import ReactOnRails from '../ReactOnRails.client.ts';
2+
import { ReactComponent, RenderFunction } from '../types/index.ts';
33

44
/**
55
* Registers React Server Components (RSC) with React on Rails for the RSC bundle.

0 commit comments

Comments
 (0)